projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BUG 703 fix - Check if zookeeper is initialized before kafka
[osm/devops.git]
/
systest
/
Dockerfile
diff --git
a/systest/Dockerfile
b/systest/Dockerfile
index
ec30486
..
23ed1d0
100644
(file)
--- a/
systest/Dockerfile
+++ b/
systest/Dockerfile
@@
-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 \
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