Skip to content

Commit 69ecf0f

Browse files
authored
Merge pull request #83 from racket/racket-8.18
build: add 8.18
2 parents 7c6a437 + caac556 commit 69ecf0f

File tree

4 files changed

+26
-25
lines changed

4 files changed

+26
-25
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
series: [7x, 8x_1, 8x_2]
14+
series: [8x_1, 8x_2]
1515
steps:
1616
- uses: actions/checkout@master
1717
- run: ./build.sh ${{ matrix.series }}

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
series: [7x, 8x_1, 8x_2, snapshot]
10+
series: [8x_1, 8x_2, snapshot]
1111
steps:
1212
- uses: actions/checkout@master
1313
- run: ./build.sh ${{ matrix.series }}

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# racket-docker
22

3-
Docker images for various Racket versions available on DockerHub as [`racket/racket:<version>`](https://hub.docker.com/r/racket/racket/). For example, to run a Racket 8.17 REPL:
3+
Docker images for various Racket versions available on DockerHub as [`racket/racket:<version>`](https://hub.docker.com/r/racket/racket/). For example, to run a Racket 8.18 REPL:
44

55
```
6-
$ docker run -it racket/racket:8.17-full
6+
$ docker run -it racket/racket:8.18-full
77
```
88

99
#### Normal images
@@ -16,7 +16,7 @@ These images use the `minimal-install` of Racket to avoid pulling in things like
1616
DrRacket or Scribble. This also means many `raco` commands such as `raco make`
1717
will be missing; install the `compiler-lib` package to get most of the standard
1818
`raco` commands. Alternatively, use the "full" images instead such as
19-
`racket/racket:8.17-full`.
19+
`racket/racket:8.18-full`.
2020

2121
Versions: 6.1 and above. Racket CS images are available for 7.4 and above.
2222

@@ -44,12 +44,14 @@ the full distribution of the CS variant of Racket 7.9.
4444

4545
#### Racket before Chez (BC) images
4646

47-
As of the 8.0 release, Racket BC images are tagged with `-bc` and
48-
`-bc-full`. For example, `racket/racket:8.0-bc-full` is the full
49-
distribution of the BC variant of Racket 8.0, whereas
47+
As of the 8.0 release, Racket BC images are tagged with `-bc`
48+
and `-bc-full`. For example, `racket/racket:8.0-bc-full` is
49+
the full distribution of the BC variant of Racket 8.0, whereas
5050
`racket/racket:7.9-full` is the full distribution of the BC variant of
5151
Racket 7.9 (before CS was made the default).
5252

53+
Racket BC images are only available up to version 8.17.
54+
5355

5456
## Local development
5557

build.sh

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,11 @@ installer_url () {
5151
build_snapshot () {
5252
declare -r version="snapshot";
5353

54-
declare -r installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-minimal-current-x86_64-linux-jesse.sh";
54+
declare -r installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-minimal-current-x86_64-linux-buster.sh";
5555
build "racket" "${installer}" "${version}" "${version}";
5656

57-
declare -r bc_installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-minimal-current-x86_64-linux-bc.sh";
58-
build "racket" "${bc_installer}" "${version}" "${version}-bc";
59-
60-
declare -r full_installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-current-x86_64-linux-jesse.sh";
57+
declare -r full_installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-current-x86_64-linux-buster.sh";
6158
build "racket" "${full_installer}" "${version}" "${version}-full";
62-
63-
declare -r full_bc_installer="https://users.cs.utah.edu/plt/snapshots/current/installers/racket-current-x86_64-linux-bc.sh";
64-
build "racket" "${full_bc_installer}" "${version}" "${version}-bc-full";
6559
}
6660

6761
build_8x () {
@@ -71,17 +65,22 @@ build_8x () {
7165
declare -r installer=$(installer_url "${version}" "${installer_path}") || exit "${?}";
7266
build "racket" "${installer}" "${version}" "${version}";
7367

74-
declare -r bc_installer_path="racket-minimal-${version}-x86_64-linux-bc.sh";
75-
declare -r bc_installer=$(installer_url "${version}" "${bc_installer_path}") || exit "${?}";
76-
build "racket" "${bc_installer}" "${version}" "${version}-bc";
77-
7868
declare -r full_installer_path="racket-${version}-x86_64-linux-natipkg.sh";
7969
declare -r full_installer=$(installer_url "${version}" "${full_installer_path}") || exit "${?}";
8070
build "racket" "${full_installer}" "${version}" "${version}-full";
8171

82-
declare -r full_bc_installer_path="racket-${version}-x86_64-linux-bc.sh";
83-
declare -r full_bc_installer=$(installer_url "${version}" "${full_bc_installer_path}") || exit "${?}";
84-
build "racket" "${full_bc_installer}" "${version}" "${version}-bc-full";
72+
# Starting with 8.18, BC builds are no longer provided. The next
73+
# version is likely going to be 9.0, so we only need to check for
74+
# 8.18 as of this writing.
75+
if [ "$version" != "8.18" ]; then
76+
declare -r bc_installer_path="racket-minimal-${version}-x86_64-linux-bc.sh";
77+
declare -r bc_installer=$(installer_url "${version}" "${bc_installer_path}") || exit "${?}";
78+
build "racket" "${bc_installer}" "${version}" "${version}-bc";
79+
80+
declare -r full_bc_installer_path="racket-${version}-x86_64-linux-bc.sh";
81+
declare -r full_bc_installer=$(installer_url "${version}" "${full_bc_installer_path}") || exit "${?}";
82+
build "racket" "${full_bc_installer}" "${version}" "${version}-bc-full";
83+
fi
8584
};
8685

8786
build_7x () {
@@ -124,7 +123,7 @@ foreach () {
124123
done;
125124
};
126125

127-
declare -r LATEST_RACKET_VERSION="8.17";
126+
declare -r LATEST_RACKET_VERSION="8.18";
128127

129128
tag_latest () {
130129
declare -r repository="${1}";
@@ -133,7 +132,7 @@ tag_latest () {
133132

134133
# The 8x series is split into two to avoid running into storage limits in CI.
135134
build_8x_2 () {
136-
foreach build_8x "8.10" "8.11" "8.11.1" "8.12" "8.13" "8.14" "8.15" "8.16" "8.17";
135+
foreach build_8x "8.10" "8.11" "8.11.1" "8.12" "8.13" "8.14" "8.15" "8.16" "8.17" "8.18";
137136
tag_latest "${DOCKER_REPOSITORY}";
138137
tag_latest "${SECONDARY_DOCKER_REPOSITORY}";
139138
}

0 commit comments

Comments
 (0)