Skip to content

Commit efadaac

Browse files
committed
Chain the commands to a single RUN instruction
[refs #59973c6d65e1]
1 parent 6e71b1b commit efadaac

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

myalpine/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
FROM alpine:latest
22

3-
RUN apk update
4-
RUN apk add bash
5-
RUN rm -rf /var/cache/apk/*
3+
RUN apk update && apk add bash && rm -rf /var/cache/apk/*
64

75
ENV PS1="\h:\w# " PS2=">> "
86

0 commit comments

Comments
 (0)