Skip to content

Commit

Permalink
Merge pull request #456 from sitano/ivan_golang_bookworm
Browse files Browse the repository at this point in the history
Add debian:bookworm distro for 1.20 and 1.19
  • Loading branch information
tianon authored Jun 13, 2023
2 parents 29b2d53 + cd60713 commit db757a0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion 1.19/buster/Dockerfile → 1.19/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 3 additions & 9 deletions 1.20/buster/Dockerfile → 1.20/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Dockerfile-linux.template
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ RUN set -eux; \
; \
{{ ) else ( -}}
savedAptMark="$(apt-mark showmanual)"; \
{{ if [ "1.19" ] | index(env.version) then ( -}}
{{ if [ "1.19" ] | index(env.version) or env.variant != "bullseye" then ( -}}
apt-get update; \
apt-get install -y --no-install-recommends golang-go; \
{{ ) else ( -}}
Expand Down
4 changes: 2 additions & 2 deletions versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@
}
},
"variants": [
"bookworm",
"bullseye",
"buster",
"alpine3.18",
"alpine3.17",
"windows/windowsservercore-ltsc2022",
Expand Down Expand Up @@ -318,8 +318,8 @@
}
},
"variants": [
"bookworm",
"bullseye",
"buster",
"alpine3.18",
"alpine3.17",
"windows/windowsservercore-ltsc2022",
Expand Down
2 changes: 1 addition & 1 deletion versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ for version in "${versions[@]}"; do
version: .version,
arches: .arches,
variants: [
"bookworm",
"bullseye",
"buster",
(
"3.18",
"3.17"
Expand Down

0 comments on commit db757a0

Please sign in to comment.