fix: add docker build for Debian image#46
fix: add docker build for Debian image#46Mohammed Naser (mnaser) merged 19 commits intovexxhost:mainfrom
Conversation
eea0985 to
dd065f5
Compare
|
I like the approach here overall, but I have a few ideas:
I'll be getting a bindep image up in a sec and I'll amend to this PR |
dd065f5 to
f3b7fcb
Compare
Replace shell conditionals with bindep to dynamically resolve packages based on the target platform. This provides a cleaner and more maintainable approach for handling different OS versions. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
f3b7fcb to
25ca0f8
Compare
|
Michiel Piscaer (@mpiscaer) this still needs some love i think -- since i'm at this, i want to try and make a "install_packages" helper or find one that already exists so we can have the infrastructure ready to use this for rhel based stuff too while wer'e at it. |
|
also I think i messed up the bindep if you want to give it a shot.. I need to context switch to something else for a mnute |
d9e1938 to
1ad2bcb
Compare
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
1ad2bcb to
c32596b
Compare
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
…ation Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Add support for: - ubuntu (24.04) - ubuntu-cloud-archive - debian (trixie) - rockylinux (9) - almalinux (9) Update bindep.txt with RHEL-family package names. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
- python-base-ubuntu - python-base-ubuntu-cloud-archive - python-base (legacy, same as ubuntu-cloud-archive) - python-base-debian - python-base-rockylinux - python-base-almalinux Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Avoids leaving packages.txt in the final image layer. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Mount uvx directly from uv image instead of copying it. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
uvx requires uv to function. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
No from= parameter means it mounts from context. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Eliminates the separate bindep stage by running bindep inline in the install-packages command. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
- Mount install-packages from context - Mount uv/uvx to /usr/local/bin (in PATH) - Final image only contains installed packages Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
- Remove local install-packages script - Mount from ghcr.io/vexxhost/build-utils:latest - Use install-bindep-packages for simpler invocation Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
|
Michiel Piscaer (@mpiscaer) Digest: |
|
Michiel Piscaer (@mpiscaer) Digest: |
|
Michiel Piscaer (@mpiscaer) Digest: |
|
Michiel Piscaer (@mpiscaer) Digest: |
|
Michiel Piscaer (@mpiscaer) Digest: |
|
Michiel Piscaer (@mpiscaer) Digest: |
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
* fix: add docker build for Debian image (backport #46) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> * fix: use Ubuntu 22.04 packages for older stable branches - Use ubuntu:22.04 instead of ubuntu:24.04 - Use libpython3.10 instead of libpython3.12 - Remove libpcre3 (not needed) - Use python3-distutils for Ubuntu (avoid regression) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> * fix: use Debian Bookworm and remove pcre - Use debian:bookworm instead of debian:trixie - Use libpython3.11 for Debian Bookworm - Remove pcre from all platforms (not needed) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> * fix: simplify bindep to use python3-distutils for dpkg platforms Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> --------- Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> Co-authored-by: Claude <noreply@anthropic.com>
* fix: add docker build for Debian image (backport #46) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> * fix: use Ubuntu 22.04 and Debian Bookworm for older stable branches - Use ubuntu:22.04 instead of ubuntu:24.04 - Use debian:bookworm instead of debian:trixie - Use libpython3.10 for Ubuntu, libpython3.11 for Debian - Remove pcre from all platforms (not needed) - Use python3-distutils for Ubuntu (avoid regression) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> * fix: simplify bindep to use python3-distutils for dpkg platforms Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> * fix: resolve merge conflict in Dockerfile Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> --------- Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> Co-authored-by: Claude <noreply@anthropic.com>
* fix: add docker build for Debian image (backport #46) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> * fix: use Ubuntu 22.04 and Debian Bullseye for older stable branches - Use ubuntu:22.04 instead of ubuntu:24.04 - Use debian:bullseye instead of debian:trixie - Use libpython3.10 for Ubuntu, libpython3.9 for Debian - Remove pcre from all platforms (not needed) - Use python3-distutils for Ubuntu (avoid regression) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> * fix: simplify bindep to use python3-distutils for dpkg platforms Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> --------- Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> Co-authored-by: Claude <noreply@anthropic.com>
* fix: add docker build for Debian image (backport #46) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> * fix: use Ubuntu 22.04 and Debian Bullseye for older stable branches - Use ubuntu:22.04 instead of ubuntu:24.04 - Use debian:bullseye instead of debian:trixie - Use libpython3.10 for Ubuntu, libpython3.9 for Debian - Remove pcre from all platforms (not needed) - Use python3-distutils for Ubuntu (avoid regression) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> * fix: simplify bindep to use python3-distutils for dpkg platforms Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> --------- Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> Co-authored-by: Claude <noreply@anthropic.com>
fix: add docker build for Debian image