mirror of
https://github.com/spritsail/alpine.git
synced 2024-12-20 11:34:36 +00:00
Joe Groocock
ed8af085db
org.label-schema.* labels are officially deprecated and replaced by the opencontainers labels defined by the opencontainers image-spec at https://github.com/opencontainers/image-spec/blob/main/annotations.md Signed-off-by: Joe Groocock <me@frebib.net>
27 lines
824 B
Docker
27 lines
824 B
Docker
ARG ALPINE_TAG=3.19
|
|
|
|
FROM alpine:$ALPINE_TAG
|
|
|
|
ARG ALPINE_TAG
|
|
|
|
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}
|
|
|
|
# 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" , "--"]
|