Install openssl, iputils 59/87159/1
authorTimoney, Dan (dt5972) <>
Tue, 7 May 2019 14:40:24 +0000 (10:40 -0400)
committerTimoney, Dan (dt5972) <>
Tue, 7 May 2019 14:40:24 +0000 (10:40 -0400)
Install openssl and iputils in odlsli alpine container.

Change-Id: I1211ebd5b4a6d1bec16456594a733bccdeb7f165
Issue-ID: CCSDK-1311
Signed-off-by: Timoney, Dan (dt5972) <>

index 5dbf8d4..926aa0b 100644 (file)
@@ -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

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use