Replies: 2 comments
-
|
here is my dockerfile to make my own image with jars FROM apache/dolphinscheduler-api:3.4.1 drop default libsRUN rm -rf /opt/dolphinscheduler/libs/hive-*.jar copy libsCOPY ./libs/*.jar /opt/dolphinscheduler/libs/ copy plugin_configCOPY ./plugins_config /opt/dolphinscheduler/conf/ install pluginsRUN /opt/dolphinscheduler/bin/install-plugins.sh |
Beta Was this translation helpful? Give feedback.
-
|
ok find the guide in docs it works, u need to put the jar in the api-server/libs and worker-server/libs Stage 1: Build PythonFROM apache/dolphinscheduler-worker:3.4.1 AS builder Install build dependenciesRUN apt-get update && Copy and build PythonCOPY Python-3.13.5.tgz / Stage 2: Final imageFROM apache/dolphinscheduler-worker:3.4.1 Copy Python from the builder stageCOPY --from=builder /usr/local/ /usr/local/ Create symlinkRUN ln -s /usr/local/bin/python3 /usr/bin/python copy plugin_configCOPY ./plugins_config /opt/dolphinscheduler/conf/ install pluginsRUN /opt/dolphinscheduler/bin/install-plugins.sh drop default libsRUN rm -rf /opt/dolphinscheduler/api-server/libs/hive-.jar copy libs worker-server/libs api-server/libsCOPY ./libs/.jar /opt/dolphinscheduler/api-server/libs/ COPY requirements.txt . it works |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
i deployed 3.4.1 with docker-compose, and added the jar in to libs directory using dockerfile. It worked when i use 3.2.2 but after updating to 3.4.1, this trick is not working. Anyone has ideas?
Beta Was this translation helpful? Give feedback.
All reactions