From 53cb68740aa0cff8102f68c245f3db1289a92e01 Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Tue, 30 Jul 2019 12:13:33 -0400 Subject: Updates for ODL Neon Update to build ODLSLI based on OpenDaylight Neon. Change-Id: I85cbdf38d385f3a4ef15e8fe7939af788c350de1 Issue-ID: CCSDK-1389 Signed-off-by: Timoney, Dan (dt5972) --- odlsli/odlsli-alpine/pom.xml | 16 ++++++++-------- odlsli/odlsli-alpine/src/main/docker/Dockerfile | 5 +++++ odlsli/odlsli-ubuntu/pom.xml | 12 ++++++------ odlsli/pom.xml | 5 ++--- 4 files changed, 21 insertions(+), 17 deletions(-) (limited to 'odlsli') diff --git a/odlsli/odlsli-alpine/pom.xml b/odlsli/odlsli-alpine/pom.xml index 723b088e..2bee0803 100644 --- a/odlsli/odlsli-alpine/pom.xml +++ b/odlsli/odlsli-alpine/pom.xml @@ -5,13 +5,13 @@ org.onap.ccsdk.parent odlparent-lite - 1.3.3 + 1.4.0-SNAPSHOT org.onap.ccsdk.distribution distribution-odlsli-alpine - 0.5.2-SNAPSHOT + 0.6.0-SNAPSHOT pom ccsdk-distribution :: odlsli-alpine @@ -21,11 +21,11 @@ - onap/ccsdk-odl-fluorine-alpine-image + onap/ccsdk-odl-neon-alpine-image onap/ccsdk-odlsli-alpine-image ${project.version} ${maven.build.timestamp} - 0.5.2 + 0.6.0-SNAPSHOT ${https_proxy} yyyyMMdd'T'HHmmss'Z' opt/opendaylight @@ -36,10 +36,10 @@ ccsdk-sli-core-all,ccsdk-sli-adaptors-all,ccsdk-sli-northbound-all,ccsdk-sli-plugins-all,ccsdk-features-all ${odl.features.extra},${ccsdk.odl.features} - 0.5.2 - 0.5.2 - 0.5.2 - 0.5.2 + 0.6.0-SNAPSHOT + 0.6.0-SNAPSHOT + 0.6.0-SNAPSHOT + 0.6.0-SNAPSHOT diff --git a/odlsli/odlsli-alpine/src/main/docker/Dockerfile b/odlsli/odlsli-alpine/src/main/docker/Dockerfile index 97c5ae4c..024043b6 100644 --- a/odlsli/odlsli-alpine/src/main/docker/Dockerfile +++ b/odlsli/odlsli-alpine/src/main/docker/Dockerfile @@ -37,9 +37,14 @@ ENV ODL_BOOT_FEATURES_EXTRA ${odl.boot.features.extra} # Install sudo and IP utilities RUN apk update && apk --no-cache add sudo iputils openssl + # Enable wheel group RUN sed -e 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/g' -i /etc/sudoers +# Create odl user +RUN addgroup -S odl && adduser -S odl -G odl +RUN addgroup odl wheel + COPY --from=stage0 --chown=odl:odl /opt /opt # Add CCSDK repositories to boot repositories diff --git a/odlsli/odlsli-ubuntu/pom.xml b/odlsli/odlsli-ubuntu/pom.xml index 63da0daa..ede48242 100644 --- a/odlsli/odlsli-ubuntu/pom.xml +++ b/odlsli/odlsli-ubuntu/pom.xml @@ -5,7 +5,7 @@ org.onap.ccsdk.parent odlparent-lite - 1.3.3 + 1.4.0-SNAPSHOT @@ -25,7 +25,7 @@ onap/ccsdk-odlsli-image ${project.version} ${maven.build.timestamp} - 0.5.2 + 0.6.0-SNAPSHOT ${https_proxy} yyyyMMdd'T'HHmmss'Z' opt/opendaylight @@ -36,10 +36,10 @@ ccsdk-sli-core-all,ccsdk-sli-adaptors-all,ccsdk-sli-northbound-all,ccsdk-sli-plugins-all,ccsdk-features-all ${odl.features.extra},${ccsdk.odl.features} - 0.5.2 - 0.5.2 - 0.5.2 - 0.5.2 + 0.6.0-SNAPSHOT + 0.6.0-SNAPSHOT + 0.6.0-SNAPSHOT + 0.6.0-SNAPSHOT diff --git a/odlsli/pom.xml b/odlsli/pom.xml index 98986b01..0e12e261 100644 --- a/odlsli/pom.xml +++ b/odlsli/pom.xml @@ -5,18 +5,17 @@ org.onap.ccsdk.distribution distribution-root - 0.5.2-SNAPSHOT + 0.6.0-SNAPSHOT distribution-odlsli - 0.5.2-SNAPSHOT + 0.6.0-SNAPSHOT pom ccsdk-distribution :: odlsli Creates ODLSLI containers - odlsli-ubuntu odlsli-alpine -- cgit 1.2.3-korg