From ffa8f37026ce83b0b93871af28eb36a7ed102bf3 Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Tue, 7 May 2019 10:40:24 -0400 Subject: Install openssl, iputils Install openssl and iputils in odlsli alpine container. Change-Id: I1211ebd5b4a6d1bec16456594a733bccdeb7f165 Issue-ID: CCSDK-1311 Signed-off-by: Timoney, Dan (dt5972) --- odlsli/odlsli-alpine/src/main/docker/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'odlsli') diff --git a/odlsli/odlsli-alpine/src/main/docker/Dockerfile b/odlsli/odlsli-alpine/src/main/docker/Dockerfile index 5dbf8d4c..926aa0b5 100644 --- a/odlsli/odlsli-alpine/src/main/docker/Dockerfile +++ b/odlsli/odlsli-alpine/src/main/docker/Dockerfile @@ -28,8 +28,15 @@ RUN cp $ODL_HOME/etc/org.apache.karaf.features.cfg $ODL_HOME/etc/org.apache.kara RUN sed -i -e "\|featuresRepositories|s|$|, ${CCSDK_SLI_CORE_REPO}, ${CCSDK_SLI_ADAPTORS_REPO}, ${CCSDK_SLI_NORTHBOUND_REPO}, ${CCSDK_SLI_PLUGINS_REPO}, ${CCSDK_FEATURES_REPO}|" $ODL_HOME/etc/org.apache.karaf.features.cfg RUN sed -i -e "\|featuresBoot[^a-zA-Z]|s|$|,${ODL_BOOT_FEATURES_EXTRA}|" $ODL_HOME/etc/org.apache.karaf.features.cfg +# Install sudo and IP utilities +RUN apk update && apk 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 # Install ansible #COPY ansible-sources.list /etc/apt/sources.list.d -- cgit 1.2.3-korg