Skip to content

Commit 2c5ed61

Browse files
authored
Make the image OS explicit and pin the version used in the final layer (#198)
Pin the Docker image used for the final layer Exercism's policy is to prefer pinned versions.
1 parent d017ee6 commit 2c5ed61

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# to keep this in sync between the two images. A slight mismatch in these layers
77
# would lead to douple the storage requirement on Exercism's servers.
88

9-
FROM rust:1.95.0 AS build-local-registry
9+
FROM rust:1.95.0-trixie AS build-local-registry
1010

1111
WORKDIR /work
1212
COPY local-registry/Cargo.toml .
@@ -46,7 +46,7 @@ EOF
4646
############################## END SHARED LAYERS ##############################
4747

4848

49-
FROM rust:1.95.0 AS build
49+
FROM rust:1.95.0-trixie AS build
5050

5151
WORKDIR /work
5252
COPY Cargo.* ./

0 commit comments

Comments
 (0)