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

Use https for spritsail alpine repo

http->https redirection seems to be broken in alpine 3.13, and the
repository automatically redirects to https anyway, so being explicit is
probably better, and saves a round-trip and redirect.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
Joe Groocock 2021-01-23 22:41:24 +00:00
parent a216ae99b9
commit d7d15ca14d
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -18,7 +18,7 @@ COPY skel/ /
ADD https://alpine.spritsail.io/spritsail-alpine.rsa.pub /etc/apk/keys 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 '1ihttps://alpine.spritsail.io/spritsail' /etc/apk/repositories \
&& apk --no-cache add \ && apk --no-cache add \
su-exec \ su-exec \
tini tini