forked from googleforgames/agones
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to debian:bookworm (googleforgames#3657)
- Loading branch information
1 parent
2093c17
commit 793a998
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|