Skip to content

Commit

Permalink
Fix docker build when oxidized gems are present
Browse files Browse the repository at this point in the history
Wneh oxidized gems have been build in the current working directory, the
docker build may fail or install the wrong version of oxidized. Removing
the gems within the build resolves the problem.
  • Loading branch information
robertcheramy committed Nov 27, 2024
1 parent 455a8c2 commit 84bd14c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ 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/*

# Ensure rugged is built with ssh support
RUN rake build

Expand Down

0 comments on commit 84bd14c

Please sign in to comment.