Initial commit
This commit is contained in:
parent
17ca077a7f
commit
6ac4516e4a
3 changed files with 45 additions and 0 deletions
19
base/alpine/Dockerfile
Normal file
19
base/alpine/Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue