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

[Test] No need to review - distroless #28974

Closed
wants to merge 1 commit into from
Closed
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
6 changes: 3 additions & 3 deletions release/src/main/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#
# then run `service docker start` and `docker login docker.io` to connect to the docker
# daemon and authenticate with Docker Hub.
FROM debian:bullseye
FROM gcr.io/distroless/python3-debian12:latest
LABEL Author "Apache Beam <[email protected]>"
SHELL ["/bin/bash", "-c"]

Expand All @@ -33,9 +33,9 @@ RUN apt-get update && \
RUN apt-get install -y build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev llvm \
libncurses5-dev libncursesw5-dev xz-utils tk-dev \
libffi-dev liblzma-dev python3-openssl
libffi-dev liblzma-dev python3-openssl

# Install pyenv and install all of the Python versions
# Install pyenv and install all of the Python versions
# needed to build containers
RUN curl https://pyenv.run | bash && \
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> /root/.bashrc && \
Expand Down
Loading