mirror of
https://github.com/spritsail/alpine.git
synced 2024-12-20 11:34:36 +00:00
Joe Groocock
d7d15ca14d
http->https redirection seems to be broken in alpine 3.13, and the repository automatically redirects to https anyway, so being explicit is probably better, and saves a round-trip and redirect. Signed-off-by: Joe Groocock <me@frebib.net>
27 lines
735 B
Docker
27 lines
735 B
Docker
ARG ALPINE_TAG=3.13
|
|
|
|
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}
|
|
|
|
# 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
|
|
|
|
ENV ENV="/etc/profile"
|
|
RUN sed -i '1ihttps://alpine.spritsail.io/spritsail' /etc/apk/repositories \
|
|
&& apk --no-cache add \
|
|
su-exec \
|
|
tini
|
|
|
|
ENTRYPOINT ["/sbin/tini" , "--"]
|