2024-12-08 00:32:47 +00:00
|
|
|
ARG ALPINE_TAG=3.21
|
2018-04-17 11:22:52 +00:00
|
|
|
|
|
|
|
FROM alpine:$ALPINE_TAG
|
|
|
|
|
|
|
|
ARG ALPINE_TAG
|
|
|
|
|
2024-04-01 15:56:47 +00:00
|
|
|
LABEL org.opencontainers.image.authors="Spritsail <alpine@spritsail.io>" \
|
|
|
|
org.opencontainers.image.title="Alpine Linux" \
|
|
|
|
org.opencontainers.image.url="https://github.com/gliderlabs/docker-alpine" \
|
|
|
|
org.opencontainers.image.source="https://github.com/spritsail/alpine" \
|
|
|
|
org.opencontainers.image.description="Alpine Linux base image" \
|
|
|
|
org.opencontainers.image.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" , "--"]
|