You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2019/03/27 05:14:38 UTC
[incubator-openwhisk] branch master updated: Use https endpoint for
alpine packages (#4394)
This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 20ba52e Use https endpoint for alpine packages (#4394)
20ba52e is described below
commit 20ba52ea576b7a33ca61d82609b597194843f941
Author: Chetan Mehrotra <ch...@apache.org>
AuthorDate: Wed Mar 27 10:44:32 2019 +0530
Use https endpoint for alpine packages (#4394)
---
common/scala/Dockerfile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/scala/Dockerfile b/common/scala/Dockerfile
index 2776d94..67fbc27 100644
--- a/common/scala/Dockerfile
+++ b/common/scala/Dockerfile
@@ -7,6 +7,8 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
+# Switch to the HTTPS endpoint for the apk repositories as per https://github.com/gliderlabs/docker-alpine/issues/184
+RUN sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/alpine.global.ssl.fastly.net/g' /etc/apk/repositories
RUN apk add --update sed curl bash
RUN mkdir /logs