Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Base Worker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
Workers
Base Worker
Commits
b74af347
Unverified
Commit
b74af347
authored
1 year ago
by
Yoann Schneider
Browse files
Options
Downloads
Patches
Plain Diff
Update workers docker image to have smaller ones
parent
8fb2c762
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!416
Update workers docker image to have smaller ones
Pipeline
#138052
passed
1 year ago
Stage: test
Stage: build
Stage: release
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
worker-{{cookiecutter.slug}}/.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
worker-{{cookiecutter.slug}}/.gitlab-ci.yml
worker-{{cookiecutter.slug}}/Dockerfile
+6
-2
6 additions, 2 deletions
worker-{{cookiecutter.slug}}/Dockerfile
with
8 additions
and
3 deletions
worker-{{cookiecutter.slug}}/.gitlab-ci.yml
+
2
−
1
View file @
b74af347
...
...
@@ -4,7 +4,8 @@ stages:
-
release
test
:
image
:
python:3
# Pinned to <3.12 till next arkindex-base-worker release
image
:
python:3.11
stage
:
test
cache
:
...
...
This diff is collapsed.
Click to expand it.
worker-{{cookiecutter.slug}}/Dockerfile
+
6
−
2
View file @
b74af347
FROM
python:3.11
FROM
python:3.11
-slim
WORKDIR
/src
# Install curl
ENV
DEBIAN_FRONTEND=non-interactive
RUN
apt-get update
-q
-y
&&
apt-get
install
-q
-y
--no-install-recommends
curl
# Install worker as a package
COPY
worker_{{cookiecutter.slug}} worker_{{cookiecutter.slug}}
COPY
requirements.txt setup.py VERSION ./
RUN
pip
install
.
RUN
pip
install
.
--no-cache-dir
# Add archi local CA
RUN
curl https://assets.teklia.com/teklia_dev_ca.pem
>
/usr/local/share/ca-certificates/arkindex-dev.crt
&&
update-ca-certificates
...
...
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