This is an automated email from the ASF dual-hosted git repository.
dubeejw 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 0ebe748 Add apk update and upgrade to deal with vulnerabilities (#4441)
0ebe748 is described below
commit 0ebe7483cc092f60440fcf124222d64ecbc6fcf7
Author: Somaya Jamil <somaya10@gmail.com>
AuthorDate: Thu Apr 11 21:44:29 2019 +0200
Add apk update and upgrade to deal with vulnerabilities (#4441)
---
common/scala/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/scala/Dockerfile b/common/scala/Dockerfile
index 67fbc27..9d504b8 100644
--- a/common/scala/Dockerfile
+++ b/common/scala/Dockerfile
@@ -9,7 +9,7 @@ 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 apk add --update sed curl bash && apk update && apk upgrade
RUN mkdir /logs
|