docker-notas/Dockerfile
Glauber Ferreira c7c4811f3a
All checks were successful
Build and Push Image / Build and push image (push) Successful in 2m24s
primeiro commit
2024-04-29 04:25:54 -03:00

13 lines
746 B
Docker

FROM cgr.dev/chainguard/wolfi-base
COPY run /usr/local/bin/run
RUN apk add --no-cache bash git wget ca-certificates libgcc tini
RUN wget -O /tmp/gw.tar.gz https://github.com/daniel7grant/gw/releases/download/v0.2.2/gw-bin_x86_64-unknown-linux-gnu.tar.gz &&\
wget -O /tmp/algernon.tar.xz https://github.com/xyproto/algernon/releases/download/v1.16.0/algernon-1.16.0-linux_x86_64_static.tar.xz &&\
tar -xvf /tmp/gw.tar.gz -C /usr/local/bin &&\
tar -xvf /tmp/algernon.tar.xz --strip=1 -C /usr/local/bin &&\
rm -f /tmp/gw.tar.gz /tmp/algernon.tar.xz /usr/local/bin/._LICENSE /usr/local/bin/LICENSE /usr/local/bin/algernon.1.gz &&\
chmod +x /usr/local/bin/run &&\
apk del -r wget
ENTRYPOINT ["tini"]
CMD ["/usr/local/bin/run"]