summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base_sdc-backend/Dockerfile7
-rw-r--r--base_sdc-frontend/Dockerfile6
2 files changed, 11 insertions, 2 deletions
diff --git a/base_sdc-backend/Dockerfile b/base_sdc-backend/Dockerfile
index 2bdc6d8..b363160 100644
--- a/base_sdc-backend/Dockerfile
+++ b/base_sdc-backend/Dockerfile
@@ -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 \
@@ -22,8 +24,11 @@ RUN apt-get -y update && apt-get -y install \
gcc \
python-pip
+USER jetty
+
# install chef-solo
RUN curl -L https://omnitruck.chef.io/install.sh | bash
RUN pip install pycurl
+
diff --git a/base_sdc-frontend/Dockerfile b/base_sdc-frontend/Dockerfile
index 5a8e9e0..886a83e 100644
--- a/base_sdc-frontend/Dockerfile
+++ b/base_sdc-frontend/Dockerfile
@@ -7,12 +7,16 @@ 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 \
vim
+USER jetty
+
# install chef-solo
RUN curl -L https://omnitruck.chef.io/install.sh | bash