diff options
author | Dan Timoney <dtimoney@att.com> | 2019-05-07 17:29:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-07 17:29:10 +0000 |
commit | 8d4467847a7992c1525555a3f43599b195a0bf08 (patch) | |
tree | 3e180026b7f0f2017276fb56cbbef30028f13b97 /odlsli/odlsli-alpine/src | |
parent | a2dbe8b0bd25eaa8ad27ac15f9080c88feb1d308 (diff) | |
parent | ffa8f37026ce83b0b93871af28eb36a7ed102bf3 (diff) |
Merge "Install openssl, iputils"
Diffstat (limited to 'odlsli/odlsli-alpine/src')
-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 |