aboutsummaryrefslogtreecommitdiffstats
path: root/packages/apex-pdp-docker/src
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-08-25 11:44:58 -0400
committerJim Hahn <jrh3@att.com>2021-08-25 12:08:00 -0400
commit6669d2bd378a562ab80a4883be267e4d0744158f (patch)
tree1a7dc43c324af8489d12dc942a65a366e1cc6136 /packages/apex-pdp-docker/src
parentdc101c2ad5e27d5a0afd4e2feeb8885f24728806 (diff)
Remove GPLv3 from apex-pdp image
The apex-pdp docker image includes libelf, which is GPLv3 and is therefore disallowed by ONAP. Appears to be included with "iproute2", which isn't needed anymore, so just removed it. Also added code to update the "apk" repo list. Issue-ID: POLICY-2845 Change-Id: I7472d584bdd391b7a711c6718f2596b1081c032c Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'packages/apex-pdp-docker/src')
-rw-r--r--packages/apex-pdp-docker/src/main/docker/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/apex-pdp-docker/src/main/docker/Dockerfile b/packages/apex-pdp-docker/src/main/docker/Dockerfile
index f1b02343f..7c7941dd0 100644
--- a/packages/apex-pdp-docker/src/main/docker/Dockerfile
+++ b/packages/apex-pdp-docker/src/main/docker/Dockerfile
@@ -1,7 +1,7 @@
#-------------------------------------------------------------------------------
# ============LICENSE_START=======================================================
# Copyright (C) 2020 Nordix Foundation.
-# Modification Copyright (C) 2020 AT&T Foundation.
+# Modification Copyright (C) 2020-2021 AT&T Foundation.
# Modifications Copyright (C) 2021 Bell Canada.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -31,9 +31,9 @@ ARG POLICY_LOGS=/var/log/onap/policy/apex-pdp
ENV POLICY_HOME=/opt/app/policy/apex-pdp
ENV POLICY_LOGS=$POLICY_LOGS
-RUN apk add --no-cache \
+RUN apk update \
+ && apk add --no-cache \
vim \
- iproute2 \
iputils \
&& addgroup -S apexuser && adduser -S apexuser -G apexuser \
&& mkdir -p $POLICY_HOME \