amarillo-core/standard.Dockerfile
Csaba 3b6b8dddf8
Some checks failed
Amarillo/amarillo-gitea/amarillo-core/pipeline/head There was a failure building this commit
Build amarillo-base and derived images
2024-06-14 11:24:47 +02:00

16 lines
397 B
Docker

FROM amarillo/amarillo-base
ARG PLUGINS=\
"amarillo-metrics "\
"amarillo-gtfs-exporter "
ARG PACKAGE_REGISTRY_URL
ENV METRICS_USER=''
ENV METRICS_PASSWORD=''
# RUN pip install $PLUGINS
RUN --mount=type=secret,id=AMARILLO_REGISTRY_CREDENTIALS \
pip install --no-cache-dir --upgrade --extra-index-url https://$(cat /run/secrets/AMARILLO_REGISTRY_CREDENTIALS)@${PACKAGE_REGISTRY_URL} ${PLUGINS}