Skip to content

Commit

Permalink
Split the RUN instruction across multiple lines
Browse files Browse the repository at this point in the history
[refs #bc9fb85d378d]
  • Loading branch information
jfahrer committed May 5, 2018
1 parent efadaac commit 497751c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion myalpine/Dockerfile
@@ -1,6 +1,8 @@
FROM alpine:latest

RUN apk update && apk add bash && rm -rf /var/cache/apk/*
RUN apk update \
&& apk add bash \
&& rm -rf /var/cache/apk/*

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

Expand Down

0 comments on commit 497751c

Please sign in to comment.