arm64 alpine image for prest v1.4.1
523
Environment variables - https://docs.prestd.com/get-started/configuring-prest#environment-variables
toml file config - https://docs.prestd.com/get-started/configuring-prest#toml
FROM alpine
WORKDIR /app
# auto set by buildkit. see - https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope
ARG TARGETARCH
ARG PREST_VERSION=1.4.1
COPY prest.toml .
RUN echo "building for $TARGETARCH"
RUN wget -O prest.tar.gz https://github.com/prest/prest/releases/download/v${PREST_VERSION}/prest_${PREST_VERSION}_linux_${TARGETARCH}.tar.gz && \
tar -xf prest.tar.gz prestd && rm prest.tar.gz
ENTRYPOINT [ "/app/prestd" ]
docker buildx build --platform linux/arm64,linux/amd64 . --push -t <user-name>/prest:latest -t <user-name>/prest:1.4.1 -t <user-name>/prest:1.4 -t <user-name>/prest:1
Content type
Image
Digest
sha256:f10d1f747…
Size
10.9 MB
Last updated
over 2 years ago
docker pull moinologics/prest