| Mike Marchetti | 6930bc0 | 2017-05-31 16:33:02 -0400 | [diff] [blame] | 1 | FROM ubuntu:16.04 |
| 2 | |||||
| 3 | RUN apt-get update && apt-get -y install python \ | ||||
| 4 | libcurl4-gnutls-dev libgnutls-dev \ | ||||
| 5 | python-setuptools python-pip git python-pytest \ | ||||
| Mike Marchetti | 8343e3f | 2017-06-30 15:12:26 -0400 | [diff] [blame] | 6 | charm-tools sudo |
| 7 | |||||
| 8 | # allow users to sudo. This will allow packages to be installed | ||||
| 9 | # inside the container | ||||
| 10 | RUN echo "ALL ALL = NOPASSWD: ALL" > /etc/sudoers.d/user && \ | ||||
| 11 | chmod 0440 /etc/sudoers.d/user | ||||