Skip to content

Commit

Permalink
Switch to debian:bookworm (googleforgames#3657)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalaiselvi84 authored Feb 16, 2024
1 parent 2093c17 commit 793a998
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions build/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@

# ForceUpdate 12 -- change here if you need to force a rebuild

FROM debian:bullseye
FROM debian:bookworm

RUN apt-get update && \
apt-get install -y build-essential gnupg curl git wget psmisc rsync make python bash-completion \
zip nano jq graphviz gettext-base plantuml software-properties-common && \
apt-get install -y build-essential gnupg curl git wget psmisc rsync make python3 bash-completion \
zip nano jq graphviz gettext-base plantuml software-properties-common ruby-full && \
apt-get clean

RUN gem install fpm && \
fpm -s empty -t deb -p python2.7-0.0.0-0-any.deb --name python2.7 --license MIT --version 0.0.0 --architecture all --description 'Dummy package to satisfy google-cloud-cli dependencies.' --maintainer 'Yourself' && \
dpkg -i python2.7-0.0.0-0-any.deb && \
rm python2.7-0.0.0-0-any.deb

# install go
WORKDIR /usr/local
ENV GO_VERSION=1.21.6
Expand Down Expand Up @@ -70,10 +75,9 @@ RUN echo "source <(helm completion bash)" >> /root/.bashrc
# install golang-ci linter
RUN go install github.com/golangci/golangci-lint/cmd/[email protected]

# Install Python, pip, and yamllint
# Install yamllint
RUN apt-get update && \
apt-get install -y python3-pip && \
pip3 install yamllint==1.32.0
apt-get install -y yamllint

# install gotestsum test runner
RUN go install gotest.tools/gotestsum@latest
Expand Down

0 comments on commit 793a998

Please sign in to comment.