forked from platypush/platypush
Use vanilla Debian images to build .deb.
Instead of `python:<python_ver>-<debian_ver>` images. The official Python Debian images install the interpreter under /usr/local/bin/python, while standard Debian distros do under /usr/bin/python3, leading to package incompatibility. Also, using the vanilla Debian images makes sure that we are always using the version of Python installed on that Debian version.
This commit is contained in:
parent
3970470e17
commit
e16cfdfb44
1 changed files with 4 additions and 4 deletions
|
@ -245,7 +245,7 @@ steps:
|
|||
fi
|
||||
|
||||
- name: update-debian-stable-packages
|
||||
image: python:3.11-bookworm
|
||||
image: debian:bookworm
|
||||
environment:
|
||||
WORKDIR: /tmp/workdir
|
||||
STABLE_PKG_NAME: platypush
|
||||
|
@ -269,7 +269,7 @@ steps:
|
|||
commands:
|
||||
- echo "-- Installing dependencies"
|
||||
- apt update
|
||||
- apt install -y dpkg-dev gpg
|
||||
- apt install -y dpkg-dev gpg python3 python3-pip
|
||||
- pip install awscli
|
||||
|
||||
- echo "--- Parsing metadata"
|
||||
|
@ -300,7 +300,7 @@ steps:
|
|||
- aws s3 cp "$GIT_DEB" s3://platypush-pkg/apt/bookworm/main/
|
||||
|
||||
- name: update-debian-oldstable-packages
|
||||
image: python:3.9-bullseye
|
||||
image: debian:bullseye
|
||||
environment:
|
||||
WORKDIR: /tmp/workdir
|
||||
STABLE_PKG_NAME: platypush
|
||||
|
@ -325,7 +325,7 @@ steps:
|
|||
commands:
|
||||
- echo "-- Installing dependencies"
|
||||
- apt update
|
||||
- apt install -y dpkg-dev gpg
|
||||
- apt install -y dpkg-dev gpg python3 python3-pip
|
||||
- pip install awscli
|
||||
|
||||
- echo "--- Parsing metadata"
|
||||
|
|
Loading…
Reference in a new issue