2024-01-13 00:33:35 +00:00
|
|
|
ARG ALPINE_TAG=3.19
|
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"
|
2021-01-23 22:41:24 +00:00
|
|
|
RUN sed -i '1ihttps://alpine.spritsail.io/spritsail' /etc/apk/repositories \
|
2018-08-31 00:12:36 +00:00
|
|
|
&& apk --no-cache add \
|
|
|
|
su-exec \
|
|
|
|
tini
|
2018-04-17 11:22:52 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["/sbin/tini" , "--"]
|