2
0
mirror of https://github.com/spritsail/alpine.git synced 2024-12-20 11:34:36 +00:00

Fetch public key with ADD, fixes 3.6 build

This commit is contained in:
Joe Groocock 2018-08-31 01:19:18 +01:00
parent 9dfac476e2
commit c6ca28ed56
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -15,9 +15,10 @@ LABEL maintainer="Spritsail <alpine@spritsail.io>" \
SHELL ["/bin/sh", "-exc"] SHELL ["/bin/sh", "-exc"]
COPY skel/ / COPY skel/ /
ADD https://alpine.spritsail.io/spritsail-alpine.rsa.pub /etc/apk/keys
ENV ENV="/etc/profile" ENV ENV="/etc/profile"
RUN sed -i '1ihttp://alpine.spritsail.io/spritsail' /etc/apk/repositories \ RUN sed -i '1ihttp://alpine.spritsail.io/spritsail' /etc/apk/repositories \
&& wget -P /etc/apk/keys https://alpine.spritsail.io/spritsail-alpine.rsa.pub \
&& apk --no-cache add \ && apk --no-cache add \
su-exec \ su-exec \
tini tini