Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade gosu from testing #459

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,14 @@
# https://github.com/hadolint/hadolint/wiki/DL4006
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Workaround to use gosu from trixie to avoid CVE warnings
RUN echo "workaround for outdated gosu binary in bookworm" && \
printf "Types: deb\nURIs: http://http.us.debian.org/debian\nSuites: trixie\nComponents: main\nSigned-By: /usr/share/keyrings/debian-archive-keyring.gpg\n" > /etc/apt/sources.list.d/trixie.sources && \
printf "Package: *\nPin: release a=testing\nPin-Priority: 400\n" > /etc/apt/preferences.d/testing.pref

# Install basepackages. Versions are "pinned" by using a pinned base image.
# hadolint ignore=DL3008
RUN apt-get update && \

Check failure on line 49 in debian/Dockerfile

View workflow job for this annotation

GitHub Actions / latest-debian

SC2143 style: Use grep -q instead of comparing output with [ -n .. ].

Check failure on line 49 in debian/Dockerfile

View workflow job for this annotation

GitHub Actions / snapshot-debian

SC2143 style: Use grep -q instead of comparing output with [ -n .. ].
apt-get upgrade --yes && \
openjdk_package="openjdk-${JAVA_VERSION}-jre-headless" && \
apt-get install --no-install-recommends -y --dry-run "$openjdk_package" >/dev/null || openjdk_package="temurin-${JAVA_VERSION}-jre" && \
Expand All @@ -56,7 +61,7 @@
ca-certificates \
curl \
fontconfig \
gosu \
gosu/trixie \
iputils-ping \
libcap2-bin \
locales \
Expand Down
Loading