Skip to content

Commit 42b2a49

Browse files
authored
Update Dockerfile
1 parent e9ad790 commit 42b2a49

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@ RUN /opt/chef-workstation/bin/chef -v
1111

1212
RUN echo "Installing dependencies..." \
1313
&& apt-get -qq update \
14+
&& apt-get -qq upgrade \
1415
&& apt-get -qq install --no-install-recommends -y \
1516
build-essential \
1617
unzip \
1718
&& apt-get clean \
1819
&& rm -rf /tmp/* /var/cache/debconf/*-old /var/lib/apt/lists/* \
19-
/var/lib/dpkg/*-old /var/log/*log /var/log/apt/* /var/tmp/* \
20-
&& sed -i -e '/DST_Root_CA_X3/d' /etc/ca-certificates.conf \
21-
&& sed -i'' -e 's/ssl rehash/ssl c_rehash/' /usr/sbin/update-ca-certificates \
22-
&& update-ca-certificates -f
20+
/var/lib/dpkg/*-old /var/log/*log /var/log/apt/* /var/tmp/*
2321

2422
RUN echo "Installing vagrant ${VAGRANT_VERSION}..." \
2523
&& VAGRANT_DEB="vagrant_${VAGRANT_VERSION}_x86_64.deb" \

0 commit comments

Comments
 (0)