1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/utils/docker/ubuntu1604py3/Dockerfile
3onyc 554496c404 [passwordstore] Use builtin _random_password function instead of pwgen ()
* [password] _random_password -> random_password and moved to util/encrypt.py
* [passwordstore] Use built-in random_password instead of pwgen utility
* [passwordstore] Add integration tests
2017-08-14 15:19:40 -07:00

69 lines
1.5 KiB
Docker

FROM ubuntu:16.04
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
acl \
apache2 \
bzip2 \
curl \
debhelper \
debianutils \
devscripts \
docbook-xml \
dpkg-dev \
fakeroot \
gawk \
gcc \
git \
iproute2 \
libffi-dev \
libssl-dev \
libxml2-utils \
locales \
lsb-release \
make \
mysql-server \
pass \
openssh-client \
openssh-server \
python3-cryptography \
python3-dev \
python3-dbus \
python3-httplib2 \
python3-jinja2 \
python3-lxml \
python3-mock \
python3-mysqldb \
python3-nose \
python3-paramiko \
python3-passlib \
python3-pip \
python3-setuptools \
python3-virtualenv \
python3-wheel \
python3-yaml \
reprepro \
rsync \
ruby \
sshpass \
subversion \
sudo \
tzdata \
unzip \
virtualenv \
xsltproc \
zip \
&& \
apt-get clean
RUN rm /etc/apt/apt.conf.d/docker-clean
RUN mkdir /etc/ansible/
RUN /bin/echo -e "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
RUN locale-gen en_US.UTF-8
RUN ssh-keygen -q -t rsa -N '' -f /root/.ssh/id_rsa && \
cp /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys && \
for key in /etc/ssh/ssh_host_*_key.pub; do echo "localhost $(cat ${key})" >> /root/.ssh/known_hosts; done
VOLUME /sys/fs/cgroup /run/lock /run /tmp
RUN pip3 install coverage junit-xml python3-keyczar
ENV container=docker
CMD ["/sbin/init"]