diff options
author | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-05-07 10:40:24 -0400 |
---|---|---|
committer | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-05-07 10:40:24 -0400 |
commit | ffa8f37026ce83b0b93871af28eb36a7ed102bf3 (patch) | |
tree | 429c0167ea3f3a7745554a941186ddb14eeddecb /odlsli/odlsli-alpine/src/main | |
parent | b594a9b61a49ccb3a53be0807fb090da3f606517 (diff) |
Install openssl, iputils
Install openssl and iputils in odlsli alpine container.
Change-Id: I1211ebd5b4a6d1bec16456594a733bccdeb7f165
Issue-ID: CCSDK-1311
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'odlsli/odlsli-alpine/src/main')
-rw-r--r-- | odlsli/odlsli-alpine/src/main/docker/Dockerfile | 7 |
1 files changed, 7 insertions, 0 deletions
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 |