Upgrading current ETSI CSIT to latest honolulu
[integration/csit.git] / plans / so / integration-etsi-testing / so-simulators / package / docker / src / main / docker / docker-files / Dockerfile.so-simulator-base-image
index efd7833..f227c63 100644 (file)
@@ -8,7 +8,8 @@ ENV http_proxy=$HTTP_PROXY
 ENV https_proxy=$HTTPS_PROXY
 
 # Update the package list and upgrade installed packages
-RUN apk update && apk upgrade
+USER root
+RUN apk update
 
 # Install commonly needed tools
 RUN apk --no-cache add curl netcat-openbsd sudo nss
@@ -24,6 +25,8 @@ COPY scripts/start-app.sh /app
 
 RUN chown -R so:so /app && chmod 700 /app/*.sh
 
+USER so
+
 # Springboot configuration (required)
 VOLUME /app/config