Skip to content

Commit

Permalink
Generalize comment on excluding .git
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Rift <anna.rift@hpe.com>
  • Loading branch information
arifthpe committed Feb 18, 2025
1 parent e9fd14e commit 1afab86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ RUN make cleanall
# Hack to get access to Chapel binaries
RUN cd $CHPL_HOME/bin && ln -s */* .

# The .git folder is huge and we really don't need it.
# Remove some unneeded files to reduce image size
RUN rm -rf .git
RUN for subdir in `ls test || true`; do \
if [ "$subdir" != "release" ]; then \
Expand Down

0 comments on commit 1afab86

Please sign in to comment.