forked from dependabot/dependabot-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove python versions from ci image and split copy
- Loading branch information
Showing
2 changed files
with
42 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
/.bundle | ||
/.core-bash_history | ||
/.env | ||
/.envrc | ||
/.git | ||
/tmp/ | ||
/helpers | ||
/spec | ||
gitignored | ||
/bundler/helpers/helpers/ | ||
/python/helpers/helpers/ | ||
/.vscode-server-insiders/ | ||
/.vscode-server/ | ||
/.vscode/ | ||
/dependabot-*.gem | ||
/dry-run | ||
/pkg | ||
/vendor | ||
/tmp | ||
**/.bundle | ||
**/coverage | ||
**/Gemfile.lock | ||
**/helpers | ||
**/node_modules | ||
!**/spec/fixtures/* | ||
git.store | ||
.byebug_history | ||
.DS_Store | ||
*.pyc |
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,14 +1,27 @@ | ||
FROM dependabot/dependabot-core | ||
|
||
# We pre-install these versions of python as they're known to be used in the | ||
# test suite. These used to be installed in-line, and pre-installing them helps | ||
# with the performance of the python test suite. | ||
RUN pyenv install -s 3.6.13 \ | ||
&& pyenv install -s 3.7.1 \ | ||
&& pyenv install -s 3.7.10 \ | ||
&& git config --global user.name dependabot-ci \ | ||
RUN git config --global user.name dependabot-ci \ | ||
&& git config --global user.email no-reply@github.com | ||
|
||
ARG CODE_DIR=/home/dependabot/dependabot-core | ||
WORKDIR ${CODE_DIR} | ||
COPY --chown=dependabot:dependabot . ${CODE_DIR} | ||
|
||
COPY --chown=dependabot:dependabot .rubocop.yml ${CODE_DIR}/.rubocop.yml | ||
COPY --chown=dependabot:dependabot omnibus ${CODE_DIR}/omnibus | ||
COPY --chown=dependabot:dependabot dep ${CODE_DIR}/dep | ||
COPY --chown=dependabot:dependabot git_submodules ${CODE_DIR}/git_submodules | ||
COPY --chown=dependabot:dependabot terraform ${CODE_DIR}/terraform | ||
COPY --chown=dependabot:dependabot github_actions ${CODE_DIR}/github_actions | ||
COPY --chown=dependabot:dependabot hex ${CODE_DIR}/hex | ||
COPY --chown=dependabot:dependabot elm ${CODE_DIR}/elm | ||
COPY --chown=dependabot:dependabot docker ${CODE_DIR}/docker | ||
COPY --chown=dependabot:dependabot nuget ${CODE_DIR}/nuget | ||
COPY --chown=dependabot:dependabot maven ${CODE_DIR}/maven | ||
COPY --chown=dependabot:dependabot gradle ${CODE_DIR}/gradle | ||
COPY --chown=dependabot:dependabot cargo ${CODE_DIR}/cargo | ||
COPY --chown=dependabot:dependabot composer ${CODE_DIR}/composer | ||
COPY --chown=dependabot:dependabot go_modules ${CODE_DIR}/go_modules | ||
COPY --chown=dependabot:dependabot python ${CODE_DIR}/python | ||
COPY --chown=dependabot:dependabot npm_and_yarn ${CODE_DIR}/npm_and_yarn | ||
COPY --chown=dependabot:dependabot bundler ${CODE_DIR}/bundler | ||
COPY --chown=dependabot:dependabot common ${CODE_DIR}/common |