File tree Expand file tree Collapse file tree 5 files changed +15
-45
lines changed Expand file tree Collapse file tree 5 files changed +15
-45
lines changed Original file line number Diff line number Diff line change @@ -5,23 +5,22 @@ FROM debian:jessie
5
5
# Colour output.
6
6
ENV TERM=xterm
7
7
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
-
14
8
RUN echo deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main >> /etc/apt/sources.list \
15
9
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 \
16
- && apt-key add /tmp/chef.asc \
17
10
&& apt-get update -y \
18
11
&& apt-get --no-install-recommends install -y \
19
12
software-properties-common \
20
13
ansible \
21
- inspec=1.25.0-1 \
22
14
wget \
23
15
coreutils \
24
16
net-tools \
25
17
&& apt-get autoremove \
26
18
&& apt-get clean \
27
19
&& 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
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ FROM ubuntu:trusty
6
6
ENV TERM=xterm
7
7
8
8
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/*
10
13
11
14
COPY chef.asc /tmp/chef.asc
12
15
COPY chef-stable.list /etc/apt/sources.list.d/chef-stable.list
Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ FROM ubuntu:xenial
6
6
ENV TERM=xterm
7
7
8
8
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/*
10
13
11
14
COPY chef.asc /tmp/chef.asc
12
15
COPY chef-stable.list /etc/apt/sources.list.d/chef-stable.list
You can’t perform that action at this time.
0 commit comments