2019-01-31 08:58:11 +00:00
|
|
|
ARG ALPINE_TAG=3.9
|
2018-04-17 11:22:52 +00:00
|
|
|
|
|
|
|
FROM alpine:$ALPINE_TAG
|
|
|
|
|
|
|
|
ARG ALPINE_TAG
|
|
|
|
|
|
|
|
LABEL maintainer="Spritsail <alpine@spritsail.io>" \
|
|
|
|
org.label-schema.vendor="Spritsail" \
|
|
|
|
org.label-schema.name="Alpine Linux" \
|
|
|
|
org.label-schema.url="https://github.com/gliderlabs/docker-alpine" \
|
|
|
|
org.label-schema.description="Alpine Linux base image" \
|
2018-08-31 00:12:36 +00:00
|
|
|
org.label-schema.version=${ALPINE_TAG}
|
2018-04-17 11:22:52 +00:00
|
|
|
|
|
|
|
# Override shell for sh-y debugging goodness
|
|
|
|
SHELL ["/bin/sh", "-exc"]
|
|
|
|
|
|
|
|
COPY skel/ /
|
2018-08-31 00:19:18 +00:00
|
|
|
ADD https://alpine.spritsail.io/spritsail-alpine.rsa.pub /etc/apk/keys
|
|
|
|
|
2018-04-17 11:22:52 +00:00
|
|
|
ENV ENV="/etc/profile"
|
2018-08-31 00:12:36 +00:00
|
|
|
RUN sed -i '1ihttp://alpine.spritsail.io/spritsail' /etc/apk/repositories \
|
|
|
|
&& apk --no-cache add \
|
|
|
|
su-exec \
|
|
|
|
tini
|
2018-04-17 11:22:52 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["/sbin/tini" , "--"]
|