Sign inSign up

moinologics/prest

By moinologics

•Updated over 2 years ago

arm64 alpine image for prest v1.4.1

Image
0

523

moinologics/prest repository overview

⁠arm64 alpine image (plugin build not supported) for https://github.com/prest/prest⁠

Environment variables - https://docs.prestd.com/get-started/configuring-prest#environment-variables⁠

toml file config - https://docs.prestd.com/get-started/configuring-prest#toml⁠

⁠NOTE - comes with jwt disabled, if you need to enable it, please mount prest.toml file into /app direcotory

⁠Dockerfile
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" ]
⁠build command
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

Tag summary

Content type

Image

Digest

sha256:f10d1f747…

Size

10.9 MB

Last updated

over 2 years ago

docker pull moinologics/prest