alpine/Dockerfile

27 lines
734 B
Docker
Raw Normal View History

2019-06-20 19:43:05 +00:00
ARG ALPINE_TAG=3.10
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" \
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/ /
ADD https://alpine.spritsail.io/spritsail-alpine.rsa.pub /etc/apk/keys
2018-04-17 11:22:52 +00:00
ENV ENV="/etc/profile"
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" , "--"]