diff options
Diffstat (limited to 'odlsli/odlsli-alpine/src/main')
-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 |