Skip to content
Snippets Groups Projects
Unverified Commit b74af347 authored by Yoann Schneider's avatar Yoann Schneider :tennis:
Browse files

Update workers docker image to have smaller ones

parent 8fb2c762
No related branches found
No related tags found
1 merge request!416Update workers docker image to have smaller ones
Pipeline #138052 passed
......@@ -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:
......
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment