change dockerfile
This commit is contained in:
parent
e6bc254017
commit
5efae29ed5
1 changed files with 3 additions and 22 deletions
25
Dockerfile
25
Dockerfile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue