12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- FROM docker.io/alpine:3.15.0
- SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
- ARG TOIT_VERSION=1.18.2
- RUN apk add --no-cache \
- ca-certificates \
- curl \
- gcompat `
- libgcc `
- && curl https://archive.toit.io/cli/v${TOIT_VERSION}/linux \
- | tar -xvzf - -C /usr/local/bin \
- && apk del ca-certificates curl \
- && adduser -u 1000 -D toit
- USER toit
- CMD ["toit", "--help"]
- ARG REVISION=
- LABEL org.opencontainers.image.title="toit" \
- org.opencontainers.image.source="https://git.hammerle.me/fphammerle/docker-toit" \
- org.opencontainers.image.revision="$REVISION"
|