From 6669d2bd378a562ab80a4883be267e4d0744158f Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Wed, 25 Aug 2021 11:44:58 -0400 Subject: 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 --- packages/apex-pdp-docker/src/main/docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/apex-pdp-docker/src/main') 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 \ -- cgit 1.2.3-korg