Update user definition
[sdc/sdc-docker-base.git] / base_sdc-backend / Dockerfile
index 2bdc6d8..ca47370 100644 (file)
@@ -7,9 +7,11 @@ ENV HTTP_PROXY  ${HTTP_PROXY}
 ENV HTTPS_PROXY ${HTTPS_PROXY}
 
 RUN if [ ! -z ${HTTP_PROXY} ]; then echo "Acquire::http::proxy  \"${HTTP_PROXY}\";" >> /etc/apt/apt.conf; fi && \
-    if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https::proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf; fi 
+    if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https::proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf; fi
 
 
+USER root
+
 RUN apt-get -y update && apt-get -y install \
     apt-utils \
     curl \
@@ -27,3 +29,5 @@ RUN curl -L https://omnitruck.chef.io/install.sh | bash
 
 RUN pip install pycurl
 
+USER jetty
+