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"]
COPY skel/ /
ADD https://alpine.spritsail.io/spritsail-alpine.rsa.pub /etc/apk/keys
ENV ENV="/etc/profile"
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 \
su-exec \
tini