From 66018fce3530482484caa5b5dcf4c9150977834d Mon Sep 17 00:00:00 2001 From: Bogdan Popa Date: Fri, 22 Aug 2025 18:48:19 +0300 Subject: [PATCH 1/6] build: add 8.18 --- README.md | 6 +++--- build.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 79e0c10..a022705 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # racket-docker -Docker images for various Racket versions available on DockerHub as [`racket/racket:`](https://hub.docker.com/r/racket/racket/). For example, to run a Racket 8.17 REPL: +Docker images for various Racket versions available on DockerHub as [`racket/racket:`](https://hub.docker.com/r/racket/racket/). For example, to run a Racket 8.18 REPL: ``` -$ docker run -it racket/racket:8.17-full +$ docker run -it racket/racket:8.18-full ``` #### Normal images @@ -16,7 +16,7 @@ These images use the `minimal-install` of Racket to avoid pulling in things like DrRacket or Scribble. This also means many `raco` commands such as `raco make` will be missing; install the `compiler-lib` package to get most of the standard `raco` commands. Alternatively, use the "full" images instead such as -`racket/racket:8.17-full`. +`racket/racket:8.18-full`. Versions: 6.1 and above. Racket CS images are available for 7.4 and above. diff --git a/build.sh b/build.sh index 174a438..f105a72 100755 --- a/build.sh +++ b/build.sh @@ -124,7 +124,7 @@ foreach () { done; }; -declare -r LATEST_RACKET_VERSION="8.17"; +declare -r LATEST_RACKET_VERSION="8.18"; tag_latest () { declare -r repository="${1}"; @@ -133,7 +133,7 @@ tag_latest () { # The 8x series is split into two to avoid running into storage limits in CI. build_8x_2 () { - foreach build_8x "8.10" "8.11" "8.11.1" "8.12" "8.13" "8.14" "8.15" "8.16" "8.17"; + foreach build_8x "8.10" "8.11" "8.11.1" "8.12" "8.13" "8.14" "8.15" "8.16" "8.17" "8.18"; tag_latest "${DOCKER_REPOSITORY}"; tag_latest "${SECONDARY_DOCKER_REPOSITORY}"; } From 032590c9badcb0abf9a0a182bd281c15fe67e6a2 Mon Sep 17 00:00:00 2001 From: Bogdan Popa Date: Fri, 22 Aug 2025 19:05:39 +0300 Subject: [PATCH 2/6] build: disable BC builds for 8.18 --- build.sh | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index f105a72..ed90031 100755 --- a/build.sh +++ b/build.sh @@ -71,17 +71,22 @@ build_8x () { declare -r installer=$(installer_url "${version}" "${installer_path}") || exit "${?}"; build "racket" "${installer}" "${version}" "${version}"; - declare -r bc_installer_path="racket-minimal-${version}-x86_64-linux-bc.sh"; - declare -r bc_installer=$(installer_url "${version}" "${bc_installer_path}") || exit "${?}"; - build "racket" "${bc_installer}" "${version}" "${version}-bc"; - declare -r full_installer_path="racket-${version}-x86_64-linux-natipkg.sh"; declare -r full_installer=$(installer_url "${version}" "${full_installer_path}") || exit "${?}"; build "racket" "${full_installer}" "${version}" "${version}-full"; - declare -r full_bc_installer_path="racket-${version}-x86_64-linux-bc.sh"; - declare -r full_bc_installer=$(installer_url "${version}" "${full_bc_installer_path}") || exit "${?}"; - build "racket" "${full_bc_installer}" "${version}" "${version}-bc-full"; + # Starting with 8.18, BC builds are no longer provided. The next + # version is likely going to be 9.0, so we only need to check for + # 8.18 as of this writing. + if [ "$version" != "8.18" ]; then + declare -r bc_installer_path="racket-minimal-${version}-x86_64-linux-bc.sh"; + declare -r bc_installer=$(installer_url "${version}" "${bc_installer_path}") || exit "${?}"; + build "racket" "${bc_installer}" "${version}" "${version}-bc"; + + declare -r full_bc_installer_path="racket-${version}-x86_64-linux-bc.sh"; + declare -r full_bc_installer=$(installer_url "${version}" "${full_bc_installer_path}") || exit "${?}"; + build "racket" "${full_bc_installer}" "${version}" "${version}-bc-full"; + fi }; build_7x () { From 9e31c798df6819d08c2734b4299f028df9705d6e Mon Sep 17 00:00:00 2001 From: Bogdan Popa Date: Fri, 22 Aug 2025 19:06:15 +0300 Subject: [PATCH 3/6] doc: add note about BC image availability [skip ci] --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a022705..70d10b5 100644 --- a/README.md +++ b/README.md @@ -44,12 +44,14 @@ the full distribution of the CS variant of Racket 7.9. #### Racket before Chez (BC) images -As of the 8.0 release, Racket BC images are tagged with `-bc` and -`-bc-full`. For example, `racket/racket:8.0-bc-full` is the full -distribution of the BC variant of Racket 8.0, whereas +As of the 8.0 release, Racket BC images are tagged with `-bc` +and `-bc-full`. For example, `racket/racket:8.0-bc-full` is +the full distribution of the BC variant of Racket 8.0, whereas `racket/racket:7.9-full` is the full distribution of the BC variant of Racket 7.9 (before CS was made the default). +Racket BC images are only available up to version 8.17. + ## Local development From 52ff0b6513732a22b422968f0cebd011eeda9092 Mon Sep 17 00:00:00 2001 From: Bogdan Popa Date: Sat, 23 Aug 2025 07:30:19 +0300 Subject: [PATCH 4/6] build: stop building BC snapshots These builds are no longer provided. --- build.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build.sh b/build.sh index ed90031..61778d9 100755 --- a/build.sh +++ b/build.sh @@ -54,14 +54,8 @@ build_snapshot () { declare -r installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-minimal-current-x86_64-linux-jesse.sh"; build "racket" "${installer}" "${version}" "${version}"; - declare -r bc_installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-minimal-current-x86_64-linux-bc.sh"; - build "racket" "${bc_installer}" "${version}" "${version}-bc"; - declare -r full_installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-current-x86_64-linux-jesse.sh"; build "racket" "${full_installer}" "${version}" "${version}-full"; - - declare -r full_bc_installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-current-x86_64-linux-bc.sh"; - build "racket" "${full_bc_installer}" "${version}" "${version}-bc-full"; } build_8x () { From 5085ff3c8873d22d2c20b52d1f3c355780f89774 Mon Sep 17 00:00:00 2001 From: Bogdan Popa Date: Sat, 23 Aug 2025 07:31:52 +0300 Subject: [PATCH 5/6] build: fix snapshot linux version --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 61778d9..f5f2046 100755 --- a/build.sh +++ b/build.sh @@ -51,10 +51,10 @@ installer_url () { build_snapshot () { declare -r version="snapshot"; - declare -r installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-minimal-current-x86_64-linux-jesse.sh"; + declare -r installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-minimal-current-x86_64-linux-buster.sh"; build "racket" "${installer}" "${version}" "${version}"; - declare -r full_installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-current-x86_64-linux-jesse.sh"; + declare -r full_installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-current-x86_64-linux-buster.sh"; build "racket" "${full_installer}" "${version}" "${version}-full"; } From caac556278103fcba1f9ed322b94f6e88e42dd17 Mon Sep 17 00:00:00 2001 From: Bogdan Popa Date: Sat, 23 Aug 2025 07:45:11 +0300 Subject: [PATCH 6/6] ci: stop building the 7x series The images are already published, and testing builds now fails due to outdated TLS. --- .github/workflows/deploy.yml | 2 +- .github/workflows/pr.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a24624f..b9df95c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - series: [7x, 8x_1, 8x_2] + series: [8x_1, 8x_2] steps: - uses: actions/checkout@master - run: ./build.sh ${{ matrix.series }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index c33393f..a983a68 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: false matrix: - series: [7x, 8x_1, 8x_2, snapshot] + series: [8x_1, 8x_2, snapshot] steps: - uses: actions/checkout@master - run: ./build.sh ${{ matrix.series }}