Skip to content

Commit

Permalink
Revert "Don't copy ruby version file into the updater image (#7802)" (#…
Browse files Browse the repository at this point in the history
…7835)

This reverts commit a89b3ac.

Turns out this is also used by rubocop in order to decide whether to
apply cops that depend on specific ruby versions or not. Without this,
running RuboCop inside a development shell does not run cleanly.
  • Loading branch information
deivid-rodriguez authored Aug 18, 2023
1 parent 0491f11 commit 444ce21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.updater-core
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ ENV GIT_LFS_SKIP_SMUDGE=1
ARG SHIM="https://github.com/dependabot/git-shim/releases/download/v1.4.0/git-v1.4.0-linux-amd64.tar.gz"
RUN curl -sL $SHIM -o git-shim.tar.gz && mkdir -p ~/bin && tar -xvf git-shim.tar.gz -C ~/bin && rm git-shim.tar.gz

COPY --chown=dependabot:dependabot .ruby-version .ruby-version
COPY --chown=dependabot:dependabot omnibus omnibus
COPY --chown=dependabot:dependabot updater/Gemfile updater/Gemfile.lock dependabot-updater/

Expand Down

0 comments on commit 444ce21

Please sign in to comment.