Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CI stuff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
shore
CI stuff
Commits
6567b542
Commit
6567b542
authored
3 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Add python3 image.
parent
5096e37d
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+17
-0
17 additions, 0 deletions
.gitlab-ci.yml
images/python3/.dockerignore
+1
-0
1 addition, 0 deletions
images/python3/.dockerignore
images/python3/Dockerfile
+15
-0
15 additions, 0 deletions
images/python3/Dockerfile
with
33 additions
and
0 deletions
.gitlab-ci.yml
+
17
−
0
View file @
6567b542
...
...
@@ -123,3 +123,20 @@ push-pre-commit:
needs
:
-
job
:
build-pre-commit
artifacts
:
true
# python3 image:
build-python3
:
extends
:
.container-build
variables
:
CONTEXT
:
images/python3
push-python3
:
extends
:
.container-push
variables
:
CONTEXT
:
images/python3
IMAGE
:
ci-images
TAG
:
python3
needs
:
-
job
:
build-python3
artifacts
:
true
This diff is collapsed.
Click to expand it.
images/python3/.dockerignore
0 → 100644
+
1
−
0
View file @
6567b542
*
This diff is collapsed.
Click to expand it.
images/python3/Dockerfile
0 → 100644
+
15
−
0
View file @
6567b542
FROM
buildpack-deps:bullseye
# hadolint ignore=DL3008,DL3013
RUN
apt-get update
&&
\
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
--no-install-recommends
\
python3-dev
\
python3-pip
\
python3-venv
\
&&
\
python3
-m
pip
install
--progress-bar
=
off
--no-cache-dir
--upgrade
pip
&&
\
python3
-m
pip
install
--progress-bar
=
off
--no-cache-dir
--upgrade
\
pipenv
\
poetry
\
tox
\
&&
\
rm
-rf
/tmp/
*
/var/tmp/
*
/var/lib/apt/lists/
*
/var/cache/apt/archives/
*
/root/.cache/
*
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment