Skip to content

Commit 1619a9f

Browse files
authored
Combine two RUN commands together (#2304)
1 parent 506a4f5 commit 1619a9f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,9 @@ RUN autoconf && \
152152

153153
FROM ${RUNNER_IMAGE} AS app
154154

155-
RUN apt-get update -y \
156-
&& apt-get install -y openssl ca-certificates locales bash xdelta3
157-
158-
# Clean up build dependencies and temporary files
159-
RUN apt-get autoremove -y && \
155+
RUN apt-get update -y && \
156+
apt-get install -y openssl ca-certificates locales bash xdelta3 && \
157+
apt-get autoremove -y && \
160158
apt-get clean && \
161159
rm -rf /var/lib/apt/lists/*
162160

0 commit comments

Comments
 (0)