alpine/Dockerfile

29 lines
1.2 KiB
Docker
Raw Normal View History

2020-10-17 19:27:02 +00:00
FROM alpine:3.12
2020-02-22 15:21:17 +00:00
LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
org.label-schema.name="alpine" \
org.label-schema.vcs-url="https://gitea.rknet.org/docker/molecule" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"
RUN addgroup -g 101 -S app && \
adduser -S -D -H -u 101 -h /app -s /sbin/nologin -G app -g app app && \
apk --update add --virtual .build-deps curl && \
curl -SsL -o /usr/local/bin/gomplate https://github.com/hairyhenderson/gomplate/releases/download/v3.5.0/gomplate_linux-amd64-slim && \
curl -SsL -o /usr/local/bin/supercronic https://github.com/aptible/supercronic/releases/download/v0.1.9/supercronic-linux-amd64 && \
2020-09-21 19:00:26 +00:00
curl -SsL -o /usr/local/bin/url-parser https://github.com/thegeeklab/url-parser/releases/download/v0.1.1/url-parser-linux-amd64 && \
curl -SsL -o /usr/local/bin/wait-for https://raw.githubusercontent.com/thegeeklab/wait-for/master/wait-for && \
2020-02-22 15:21:17 +00:00
chmod 755 /usr/local/bin/gomplate && \
chmod 755 /usr/local/bin/supercronic && \
chmod 755 /usr/local/bin/url-parser && \
chmod 755 /usr/local/bin/wait-for && \
apk del .build-deps && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/*
ADD overlay/ /
STOPSIGNAL SIGTERM
CMD []