Skip to content

Commit

Permalink
Fix container image not building when pkg/ not present
Browse files Browse the repository at this point in the history
  • Loading branch information
robertcheramy committed Nov 28, 2024
1 parent 84bd14c commit 557def3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ WORKDIR /tmp/oxidized
# docker automated build gets shallow copy, but non-shallow copy cannot be unshallowed
RUN git fetch --unshallow || true

# Remove any older gems of oxidized
RUN rm pkg/*
# Remove any older gems of oxidized if they exist
RUN rm pkg/* || true

# Ensure rugged is built with ssh support
RUN rake build
Expand Down

0 comments on commit 557def3

Please sign in to comment.