Skip to content
Snippets Groups Projects
Select Git revision
  • 12edcaa9bf21a55e94f3e78c1dfa6a6b339f5284
  • main default protected
  • popup-style
  • keyboard-bindings
  • compress-scripts
  • ci
  • input-poc
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • test-0.1.0
11 results

.gitlab-ci.yml

Blame
  • Dockerfile 538 B
    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_init_elements worker_init_elements
    COPY requirements.txt setup.py pyproject.toml ./
    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
    ENV REQUESTS_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt