Initial commit

This commit is contained in:
zontreck 2024-09-03 13:54:58 -07:00
parent 17ca077a7f
commit 6ac4516e4a
3 changed files with 45 additions and 0 deletions

19
base/alpine/Dockerfile Normal file
View file

@ -0,0 +1,19 @@
FROM --platform=$TARGETOS/$TARGETARCH alpine:latest
LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com"
LABEL upstream="https://github.com/pelican-eggs/yolks"
RUN apk add --update --no-cache ca-certificates tzdata tini bash
RUN adduser -D -h /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/bin/bash", "-c", "--"]
CMD ["/entrypoint.sh"]