Update keystone version to 18.1
[osm/devops.git] / systest / Dockerfile
index ec30486..23ed1d0 100644 (file)
@@ -3,4 +3,9 @@ FROM ubuntu:16.04
 RUN apt-get update && apt-get -y install python \
     libcurl4-gnutls-dev libgnutls-dev \
     python-setuptools python-pip git python-pytest \
-    charm-tools
+    charm-tools sudo
+
+# allow users to sudo.  This will allow packages to be installed
+# inside the container
+RUN echo "ALL ALL = NOPASSWD: ALL" > /etc/sudoers.d/user && \
+    chmod 0440 /etc/sudoers.d/user