change dockerfile

This commit is contained in:
Александр Бурдин 2025-06-03 17:51:46 +03:00
parent e6bc254017
commit 5efae29ed5

View file

@ -1,24 +1,5 @@
FROM repo.micord.ru/tools/pdi-ce:8.3.0.0-371 AS main
ARG RUNTIME_IMAGE=repo.micord.ru/tools/etl-base:0.0.1-shaef6aa52b
ENV TZ=Europe/Moscow
FROM $RUNTIME_IMAGE
ENV PDI_RELEASE=8.3 \
PDI_VERSION=8.3.0.0-371 \
PDI_HOME=/opt/pentaho-di \
KETTLE_HOME=/pentaho-di
COPY crontab /root/
COPY entrypoint.sh /root/
COPY mappings $PDI_HOME/mappings
RUN chmod +x /root/entrypoint.sh
ENV PATH=$PDI_HOME/data-integration:$PATH
ENTRYPOINT ["/root/entrypoint.sh"]
FROM main AS runonce
ENV RUNONCE=true
FROM main AS cron
ENV RUNONCE=false
COPY mappings /opt/etl/config/projects/mappings