mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add junit-xml to docker images.
This commit is contained in:
parent
a88919c751
commit
62e6f6b885
8 changed files with 9 additions and 0 deletions
|
@ -49,5 +49,6 @@ RUN ssh-keygen -q -t rsa1 -N '' -f /etc/ssh/ssh_host_key && \
|
|||
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
|
||||
RUN pip install junit-xml
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
||||
|
|
|
@ -52,5 +52,6 @@ RUN ssh-keygen -q -t rsa1 -N '' -f /etc/ssh/ssh_host_key && \
|
|||
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
|
||||
RUN pip install junit-xml
|
||||
ENV container=docker
|
||||
CMD ["/usr/sbin/init"]
|
||||
|
|
|
@ -57,5 +57,6 @@ RUN ssh-keygen -q -t dsa -N '' -f /etc/ssh/ssh_host_dsa_key && \
|
|||
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
|
||||
RUN pip install junit-xml
|
||||
ENV container=docker
|
||||
CMD ["/usr/sbin/init"]
|
||||
|
|
|
@ -58,5 +58,6 @@ RUN ssh-keygen -q -t dsa -N '' -f /etc/ssh/ssh_host_dsa_key && \
|
|||
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
|
||||
RUN pip install junit-xml
|
||||
ENV container=docker
|
||||
CMD ["/usr/sbin/init"]
|
||||
|
|
|
@ -67,5 +67,6 @@ RUN ssh-keygen -q -t rsa1 -N '' -f /etc/ssh/ssh_host_key && \
|
|||
for key in /etc/ssh/ssh_host_*_key.pub; do echo "localhost $(cat ${key})" >> /root/.ssh/known_hosts; done
|
||||
# explicitly enable the service, opensuse default to disabled services
|
||||
RUN systemctl enable sshd.service
|
||||
RUN pip install junit-xml
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
||||
|
|
|
@ -81,5 +81,6 @@ 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
|
||||
RUN pip install junit-xml
|
||||
ENV container docker
|
||||
CMD ["/sbin/init"]
|
||||
|
|
|
@ -78,5 +78,6 @@ 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
|
||||
RUN pip install junit-xml
|
||||
ENV container docker
|
||||
CMD ["/sbin/init"]
|
||||
|
|
|
@ -53,6 +53,7 @@ RUN apt-get install -y \
|
|||
python-pip \
|
||||
python-setuptools \
|
||||
python-virtualenv \
|
||||
python-wheel \
|
||||
virtualenv \
|
||||
python-yaml
|
||||
|
||||
|
@ -68,4 +69,5 @@ RUN mkdir /etc/ansible/
|
|||
RUN /bin/echo -e "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|
||||
|
||||
VOLUME /sys/fs/cgroup /run/lock /run /tmp
|
||||
RUN pip install junit-xml
|
||||
CMD ["/sbin/init"]
|
||||
|
|
Loading…
Reference in a new issue