Skip to content

Commit 497751c

Browse files
committed
Split the RUN instruction across multiple lines
[refs #bc9fb85d378d]
1 parent efadaac commit 497751c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

myalpine/Dockerfile

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

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

57
ENV PS1="\h:\w# " PS2=">> "
68

0 commit comments

Comments
 (0)