Skip to content

Commit 51cd432

Browse files
committed
Fix Dockerfiles
* Install apt-transport-https depency in Debian based containers * Test different CMD instruction in CentOS 6 container
1 parent 2b72889 commit 51cd432

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

tests/dockerfiles/Dockerfile.centos-6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts
99

1010
VOLUME ["/sys/fs/cgroup"]
1111

12-
CMD ["/usr/sbin/init"]
12+
CMD ["/sbin/init"]

tests/dockerfiles/Dockerfile.debian-jessie

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \
88
python-dev \
99
python-pip \
1010
git \
11+
apt-transport-https
1112
&& rm -rf /var/lib/apt/lists/*
1213

1314
RUN pip install --upgrade setuptools && pip install ansible

tests/dockerfiles/Dockerfile.debian-stretch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \
99
python-pip \
1010
git \
1111
systemd \
12+
apt-transport-https
1213
&& rm -rf /var/lib/apt/lists/*
1314

1415
RUN pip install --upgrade setuptools && pip install ansible

tests/dockerfiles/Dockerfile.ubuntu-trusty

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y software-pro
55
RUN apt-add-repository -y ppa:ansible/ansible && apt-get update && apt-get install -y \
66
git \
77
ansible \
8+
apt-transport-https
89
&& rm -rf /var/lib/apt/lists/*
910

1011
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts

tests/dockerfiles/Dockerfile.ubuntu-xenial

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y software-pro
55
RUN apt-add-repository -y ppa:ansible/ansible && apt-get update && apt-get install -y \
66
git \
77
ansible \
8+
apt-transport-https
89
&& rm -rf /var/lib/apt/lists/*
910

1011
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts

0 commit comments

Comments
 (0)