forked from flyteorg/flytekit-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
18 lines (12 loc) · 594 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM gcr.io/distroless/java:8
ARG FLYTE_INTERNAL_IMAGE
COPY jflyte/target/lib /jflyte/
# plugins
COPY jflyte-aws/target/lib /jflyte/modules/jflyte-aws
COPY jflyte-google-cloud/target/lib /jflyte/modules/jflyte-google-cloud
ENV FLYTE_INTERNAL_MODULE_DIR "/jflyte/modules"
ENV FLYTE_INTERNAL_IMAGE=$FLYTE_INTERNAL_IMAGE
ENV FLYTE_PLATFORM_URL "CHANGEME"
ENV FLYTE_STAGING_LOCATION "CHANGEME"
ENV FLYTE_PLATFORM_INSECURE "False"
ENTRYPOINT ["java", "-Dorg.slf4j.simpleLogger.defaultLogLevel=INFO", "-Dorg.slf4j.simpleLogger.log.org.flyte=DEBUG", "-cp", "/jflyte/*", "org.flyte.jflyte.Main"]