diff options
author | Dan Timoney <dtimoney@att.com> | 2019-08-16 19:15:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-16 19:15:37 +0000 |
commit | a8e9cf344e47ddca11b856e3b442da15f670826c (patch) | |
tree | 712f93a6b6e70c1cea71ac809cb0bbd4c7a92bd6 /odlsli/odlsli-alpine/src | |
parent | b35f85916deded78a1da56fe70026c3dad516aea (diff) | |
parent | 53cb68740aa0cff8102f68c245f3db1289a92e01 (diff) |
Merge "Updates for ODL Neon"
Diffstat (limited to 'odlsli/odlsli-alpine/src')
-rw-r--r-- | odlsli/odlsli-alpine/src/main/docker/Dockerfile | 5 |
1 files changed, 5 insertions, 0 deletions
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 |