Skip to content

Commit

Permalink
remove unnecessary RUN command
Browse files Browse the repository at this point in the history
WORKDIR already runs "mkdir -p" under the hood, so we don't need to add this extra command (and layer) to the Dockerfile.
  • Loading branch information
Adam Leskis authored and tombh committed Feb 2, 2023
1 parent acaa7d6 commit 0cef277
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ RUN install_packages \
bzip2

# Helper scripts
RUN mkdir /build
WORKDIR /build
ADD .git .git
ADD .github .github
Expand Down

0 comments on commit 0cef277

Please sign in to comment.