Skip to content

Commit b8c245e

Browse files
authored
Bump nushell version from 0.111.0 to 0.112.2 and Alpine to 3.23.4 (#18)
Exercism's policy is to prefer pinned versions. Using the same hash across all runners allows us to store and reuse the same image, rather than needing to store a per-runner base image. This helps cut down on storage costs.
1 parent 58c933e commit b8c245e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM alpine:3.22
1+
FROM alpine:3.23.4@sha256:5b10f432ef3da1b8d4c7eb6c487f2f5a8f096bc91145e68878dd4a5019afde11
2+
ARG VERSION=0.112.2
23

34
RUN apk add --no-cache jq curl && \
4-
curl -Lo nu.tgz https://github.com/nushell/nushell/releases/download/0.111.0/nu-0.111.0-x86_64-unknown-linux-musl.tar.gz && \
5-
gunzip nu.tgz && \
6-
tar xvf nu.tar && \
7-
mv nu-0.111.0-x86_64-unknown-linux-musl/nu /usr/bin
5+
curl -L https://github.com/nushell/nushell/releases/download/${VERSION}/nu-${VERSION}-x86_64-unknown-linux-musl.tar.gz \
6+
| tar xzOT <(echo nu-${VERSION}-x86_64-unknown-linux-musl/nu) > /usr/bin/nu && \
7+
chmod 755 /usr/bin/nu
88

99

1010
WORKDIR /opt/test-runner

0 commit comments

Comments
 (0)