Skip to content

Commit a48a2af

Browse files
authored
Merge pull request #73 from Bogdanp/master
build: add 8.10
2 parents 20d3d17 + 73e04b5 commit a48a2af

File tree

4 files changed

+23
-10
lines changed

4 files changed

+23
-10
lines changed

README.md

Lines changed: 3 additions & 3 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.9 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.10 REPL:
44

55
```
6-
$ docker run -it racket/racket:8.9
6+
$ docker run -it racket/racket:8.10
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.9-full`.
19+
`racket/racket:8.10-full`.
2020

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

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ foreach () {
122122
done;
123123
};
124124

125-
declare -r LATEST_RACKET_VERSION="8.9";
125+
declare -r LATEST_RACKET_VERSION="8.10";
126126

127127
tag_latest () {
128128
declare -r repository="${1}";
129129
docker image tag "${repository}:${LATEST_RACKET_VERSION}" "${repository}:latest";
130130
};
131131

132132
build_all_8x () {
133-
foreach build_8x "8.0" "8.1" "8.2" "8.3" "8.4" "8.5" "8.6" "8.7" "8.8" "8.9";
133+
foreach build_8x "8.0" "8.1" "8.2" "8.3" "8.4" "8.5" "8.6" "8.7" "8.8" "8.9" "8.10";
134134
tag_latest "${DOCKER_REPOSITORY}";
135135
tag_latest "${SECONDARY_DOCKER_REPOSITORY}";
136136
}

deploy.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ source "_common.sh";
66

77
push () {
88
declare -r image="${1}";
9-
docker image push "${image}";
9+
10+
# Avoid pushing images with broken SSL up to Docker Hub. Working
11+
# versions of these images have already been pushed. See the note in
12+
# test.sh for details.
13+
if ! [[ "${image}" =~ racket:8.[0123456]-bc ]]; then
14+
docker image push "${image}";
15+
fi
1016
};
1117

1218
for image in $(find_images "${DOCKER_REPOSITORY}"); do

test.sh

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,17 @@ test-image () {
88
declare -r image="${1}";
99
docker container run "${image}" racket -e "(+ 1 2 3)";
1010

11-
# The "nevermore" package is an empty package that never changes which we
12-
# created specifically for this test. This lets us test that package
13-
# installation works and the default package catalogs are properly configured.
14-
docker container run "${image}" raco pkg install --auto nevermore;
11+
# Skip this test on Racket 8.{0-6} BC since these versions have issues
12+
# loading OpenSSL on Debian bookworm and up. The CS variants of these
13+
# versions don't have the same problem because we install the natipkg
14+
# distros.
15+
if ! [[ "${image}" =~ racket:8.[0123456]-bc ]]; then
16+
# The "nevermore" package is an empty package that never changes
17+
# which we created specifically for this test. This lets us test
18+
# that package installation works and the default package catalogs
19+
# are properly configured.
20+
docker container run "${image}" raco pkg install --auto nevermore;
21+
fi
1522
};
1623

1724
for image in $(find_testable_images "${DOCKER_REPOSITORY}"); do

0 commit comments

Comments
 (0)