-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
21 lines (18 loc) · 830 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from python:3.10.1
WORKDIR /usr/src/app
# Copy code to the image
COPY *.py ./
COPY app_managers/*.py app_managers/
COPY app_managers/core/*.py app_managers/core/
COPY app_managers/workflow_manager/*.py app_managers/workflow_manager/
COPY secret_managers/*.py secret_managers/
COPY ccloud_managers/*.py ccloud_managers/
COPY requirements.txt ./
# Installl the requirements
RUN pip install --no-cache-dir -r ./requirements.txt
# Install Confluent CLI
RUN curl -sL --http1.1 https://cnfl.io/cli | sh -s -- -b /usr/local/bin latest
# Add both to the path for easy access
RUN export PATH=/usr/local/bin:$PATH
ENTRYPOINT [ "python", "main_cicd_runner.py" ]
CMD [ "--csm-config-file-path", "configurations/config.yaml", "--csm-definitions-file-path", "configurations/definitions.yaml", "--print-delete-eligible-api-keys", "--dry-run"]