Skip to content

Commit 290f037

Browse files
authored
Merge pull request #364 from concourse/update-package-layers
update os layer packages
2 parents c63e77a + fd58a3d commit 290f037

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

dockerfiles/alpine/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ ARG base_image=alpine:latest
22

33
FROM ${base_image} AS resource
44

5+
RUN apk update && apk upgrade
56
RUN apk --no-cache add \
67
bash \
78
curl \

dockerfiles/ubuntu/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ ARG base_image
22

33
FROM ${base_image} AS resource
44

5-
RUN apt-get update \
6-
&& apt-get install -y --no-install-recommends \
5+
RUN apt update && apt upgrade -y
6+
RUN apt install -y --no-install-recommends \
77
curl \
88
gnupg \
99
gzip \
@@ -17,12 +17,12 @@ RUN apt-get update \
1717
software-properties-common
1818

1919
RUN apt-add-repository ppa:git-core/ppa \
20-
&& apt-get update \
21-
&& apt-get install -y git \
20+
&& apt update \
21+
&& apt install -y git \
2222
&& rm -rf /var/lib/apt/lists/*
2323

2424
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
25-
RUN apt-get install -y git-lfs
25+
RUN apt install -y git-lfs
2626

2727
WORKDIR /root
2828
RUN git clone https://github.com/proxytunnel/proxytunnel.git && \
@@ -193,7 +193,7 @@ ADD test/ /tests
193193
RUN /tests/all.sh
194194

195195
FROM resource AS integrationtests
196-
RUN apt-get update && apt-get install -y squid
196+
RUN apt update && apt install -y squid
197197
ADD test/ /tests/test
198198
ADD integration-tests /tests/integration-tests
199199
RUN /tests/integration-tests/integration.sh

0 commit comments

Comments
 (0)