-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3428 from dependabot/feelepxyz/add-buildkit-cachi…
…ng-to-ci-image CI: Use buildkit caching when building Dockerfile.ci
- Loading branch information
Showing
4 changed files
with
186 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,7 @@ | ||
FROM dependabot/dependabot-core | ||
ARG CODE_DIR=/home/dependabot/dependabot-core | ||
WORKDIR ${CODE_DIR} | ||
|
||
ENV BUNDLE_PATH="/home/dependabot/.bundle" \ | ||
BUNDLE_BIN=".bundle/binstubs" \ | ||
PATH=".bundle/binstubs:$PATH:/home/dependabot/.bundle/bin" | ||
|
||
RUN pyenv install -s 3.6.13 | ||
RUN pyenv install -s 3.7.1 | ||
RUN pyenv install -s 3.7.10 | ||
|
||
COPY .rubocop.yml /home/dependabot/dependabot-core/ | ||
|
||
RUN mkdir -p \ | ||
${CODE_DIR}/bundler \ | ||
${CODE_DIR}/cargo \ | ||
${CODE_DIR}/common \ | ||
${CODE_DIR}/composer \ | ||
${CODE_DIR}/dep \ | ||
${CODE_DIR}/docker \ | ||
${CODE_DIR}/elm \ | ||
${CODE_DIR}/git_submodules \ | ||
${CODE_DIR}/github_actions \ | ||
${CODE_DIR}/go_modules \ | ||
${CODE_DIR}/gradle \ | ||
${CODE_DIR}/hex \ | ||
${CODE_DIR}/maven \ | ||
${CODE_DIR}/npm_and_yarn \ | ||
${CODE_DIR}/nuget \ | ||
${CODE_DIR}/omnibus \ | ||
${CODE_DIR}/python \ | ||
${CODE_DIR}/terraform | ||
|
||
COPY common/lib/dependabot/version.rb ${CODE_DIR}/common/lib/dependabot/version.rb | ||
COPY common/Gemfile common/dependabot-common.gemspec ${CODE_DIR}/common/ | ||
COPY bundler/Gemfile bundler/dependabot-bundler.gemspec ${CODE_DIR}/bundler/ | ||
COPY cargo/Gemfile cargo/dependabot-cargo.gemspec ${CODE_DIR}/cargo/ | ||
COPY composer/Gemfile composer/dependabot-composer.gemspec ${CODE_DIR}/composer/ | ||
COPY dep/Gemfile dep/dependabot-dep.gemspec ${CODE_DIR}/dep/ | ||
COPY docker/Gemfile docker/dependabot-docker.gemspec ${CODE_DIR}/docker/ | ||
COPY elm/Gemfile elm/dependabot-elm.gemspec ${CODE_DIR}/elm/ | ||
COPY git_submodules/Gemfile git_submodules/dependabot-git_submodules.gemspec ${CODE_DIR}/git_submodules/ | ||
COPY github_actions/Gemfile github_actions/dependabot-github_actions.gemspec ${CODE_DIR}/github_actions/ | ||
COPY go_modules/Gemfile go_modules/dependabot-go_modules.gemspec ${CODE_DIR}/go_modules/ | ||
COPY gradle/Gemfile gradle/dependabot-gradle.gemspec ${CODE_DIR}/gradle/ | ||
COPY hex/Gemfile hex/dependabot-hex.gemspec ${CODE_DIR}/hex/ | ||
COPY maven/Gemfile maven/dependabot-maven.gemspec ${CODE_DIR}/maven/ | ||
COPY npm_and_yarn/Gemfile npm_and_yarn/dependabot-npm_and_yarn.gemspec ${CODE_DIR}/npm_and_yarn/ | ||
COPY nuget/Gemfile nuget/dependabot-nuget.gemspec ${CODE_DIR}/nuget/ | ||
COPY python/Gemfile python/dependabot-python.gemspec ${CODE_DIR}/python/ | ||
COPY terraform/Gemfile terraform/dependabot-terraform.gemspec ${CODE_DIR}/terraform/ | ||
COPY omnibus/Gemfile omnibus/dependabot-omnibus.gemspec ${CODE_DIR}/omnibus/ | ||
|
||
COPY common/ ${CODE_DIR}/common/ | ||
COPY bundler/ ${CODE_DIR}/bundler/ | ||
COPY cargo/ ${CODE_DIR}/cargo/ | ||
COPY composer/ ${CODE_DIR}/composer/ | ||
COPY dep/ ${CODE_DIR}/dep/ | ||
COPY docker/ ${CODE_DIR}/docker/ | ||
COPY elm/ ${CODE_DIR}/elm/ | ||
COPY git_submodules/ ${CODE_DIR}/git_submodules/ | ||
COPY github_actions/ ${CODE_DIR}/github_actions/ | ||
COPY go_modules/ ${CODE_DIR}/go_modules/ | ||
COPY gradle/ ${CODE_DIR}/gradle/ | ||
COPY hex/ ${CODE_DIR}/hex/ | ||
COPY maven/ ${CODE_DIR}/maven/ | ||
COPY npm_and_yarn/ ${CODE_DIR}/npm_and_yarn/ | ||
COPY nuget/ ${CODE_DIR}/nuget/ | ||
COPY python/ ${CODE_DIR}/python/ | ||
COPY terraform/ ${CODE_DIR}/terraform/ | ||
COPY omnibus/ ${CODE_DIR}/omnibus/ | ||
|
||
RUN git config --global user.name dependabot-ci && git config --global user.email [email protected] |
Oops, something went wrong.