|
@@ -30,14 +30,14 @@ FROM docker.io/alpine:3.15.0
|
|
|
|
|
|
# https://web.archive.org/web/20220220103519/https://github.com/hadolint/hadolint/wiki/DL4006
|
|
|
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
|
|
|
-ARG TOIT_VERSION=1.18.2
|
|
|
+ARG TOIT_CLI_VERSION=1.18.2
|
|
|
# hadolint ignore=DL3018
|
|
|
RUN apk add --no-cache \
|
|
|
ca-certificates \
|
|
|
curl \
|
|
|
gcompat `# toitc` \
|
|
|
libgcc `# toitc` \
|
|
|
- && curl https://archive.toit.io/cli/v${TOIT_VERSION}/linux \
|
|
|
+ && curl https://archive.toit.io/cli/v${TOIT_CLI_VERSION}/linux \
|
|
|
| tar -xvzf - -C /usr/local/bin \
|
|
|
&& apk del ca-certificates curl \
|
|
|
&& adduser -u 1000 -D toit
|
|
@@ -47,6 +47,6 @@ CMD ["toit", "--help"]
|
|
|
|
|
|
# https://github.com/opencontainers/image-spec/blob/v1.0.1/annotations.md
|
|
|
ARG REVISION=
|
|
|
-LABEL org.opencontainers.image.title="toit" \
|
|
|
+LABEL org.opencontainers.image.title="toit cli" \
|
|
|
org.opencontainers.image.source="https://git.hammerle.me/fphammerle/docker-toit" \
|
|
|
org.opencontainers.image.revision="$REVISION"
|