Skip to content

Commit 6a966b6

Browse files
committed
#16 - updated jessie and ubuntu dockerfiles
1 parent 555eb56 commit 6a966b6

File tree

5 files changed

+15
-45
lines changed

5 files changed

+15
-45
lines changed

docker/jessie64/Dockerfile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,22 @@ FROM debian:jessie
55
# Colour output.
66
ENV TERM=xterm
77

8-
RUN apt-get update -y \
9-
&& apt-get install -y apt-transport-https software-properties-common
10-
11-
COPY chef.asc /tmp/chef.asc
12-
COPY chef-stable.list /etc/apt/sources.list.d/chef-stable.list
13-
148
RUN echo deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main >> /etc/apt/sources.list \
159
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 \
16-
&& apt-key add /tmp/chef.asc \
1710
&& apt-get update -y \
1811
&& apt-get --no-install-recommends install -y \
1912
software-properties-common \
2013
ansible \
21-
inspec=1.25.0-1 \
2214
wget \
2315
coreutils \
2416
net-tools \
2517
&& apt-get autoremove \
2618
&& apt-get clean \
2719
&& rm -rf /var/lib/apt/lists/*
20+
21+
## https://downloads.chef.io/inspec/1.24.0
22+
RUN wget -q https://packages.chef.io/files/stable/inspec/1.24.0/ubuntu/14.04/inspec_1.24.0-1_amd64.deb \
23+
&& echo "33e8ab3dd4ed7eb2285310ae9d0a32e0cc45d5b6d057a29541f93870c2f9e30a inspec_1.24.0-1_amd64.deb" \
24+
| sha256sum -c \
25+
&& dpkg -i inspec_1.24.0-1_amd64.deb \
26+
&& rm inspec_1.24.0-1_amd64.deb

docker/jessie64/chef-stable.list

Lines changed: 0 additions & 1 deletion
This file was deleted.

docker/jessie64/chef.asc

Lines changed: 0 additions & 34 deletions
This file was deleted.

docker/trusty64/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ FROM ubuntu:trusty
66
ENV TERM=xterm
77

88
RUN apt-get update -y \
9-
&& apt-get install -y apt-transport-https software-properties-common
9+
&& apt-get install -y apt-transport-https software-properties-common \
10+
&& apt-get autoremove \
11+
&& apt-get clean \
12+
&& rm -rf /var/lib/apt/lists/*
1013

1114
COPY chef.asc /tmp/chef.asc
1215
COPY chef-stable.list /etc/apt/sources.list.d/chef-stable.list

docker/xenial64/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ FROM ubuntu:xenial
66
ENV TERM=xterm
77

88
RUN apt-get update -y \
9-
&& apt-get install -y apt-transport-https software-properties-common
9+
&& apt-get install -y apt-transport-https software-properties-common \
10+
&& apt-get autoremove \
11+
&& apt-get clean \
12+
&& rm -rf /var/lib/apt/lists/*
1013

1114
COPY chef.asc /tmp/chef.asc
1215
COPY chef-stable.list /etc/apt/sources.list.d/chef-stable.list

0 commit comments

Comments
 (0)