summaryrefslogtreecommitdiffstats
path: root/base_sdc-jetty/Dockerfile
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-05-07 17:21:22 -0700
committerMichael Lando <ml636r@att.com>2018-05-09 15:36:18 +0000
commitf2da63dbece0e4b1d7058a9ccc9cbf7934ce2c8c (patch)
treec9b6b866c64bc1949d6aacd301a844f59958a383 /base_sdc-jetty/Dockerfile
parentd0a8a0d8c712ee968367509101b2530870f54cb1 (diff)
Fix additional library CVEs in sdc-docker-base
Fix CVEs around the following packages: binutils jq libtasn1 libpng curl libcurl Change-Id: Ib9b8419e3f35072a43bdc88a92255ee6f8968943 Issue-ID: SDC-1310 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'base_sdc-jetty/Dockerfile')
-rw-r--r--base_sdc-jetty/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/base_sdc-jetty/Dockerfile b/base_sdc-jetty/Dockerfile
index 84d9ee1..d7be282 100644
--- a/base_sdc-jetty/Dockerfile
+++ b/base_sdc-jetty/Dockerfile
@@ -21,7 +21,10 @@ RUN set -ex && \
chef:13.8.5 \
berkshelf:6.3.1 \
io-console:0.4.6 \
- --no-document
+ --no-document && \
+ echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
+ apk update && \
+ apk add binutils=2.30-r1 jq=1.6_rc1-r1 libtasn1=4.13-r0
# Replace Jetty user ID
COPY set_jetty_user.sh /tmp/set_jetty_user.sh