Skip to content

Commit

Permalink
test docker
Browse files Browse the repository at this point in the history
  • Loading branch information
steve committed May 28, 2024
1 parent bd9df2c commit 6710b93
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions deploy/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ WORKDIR /opt/dinky/

USER root

COPY --from=build /build/release/dinky /opt/
COPY --from=flink-base /opt/flink/lib/ /opt/dinky/extends/
COPY --from=flink-base /opt/flink/lib/*.jar /dinky/extends/flink${FLINK_VERSION}/
RUN rm -f /dinky/extends/flink${FLINK_VERSION}/flink-table-planner-loader*.jar && \
curl -o /dinky/extends/mysql-connector-j-8.0.33.jar "https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.0.33/mysql-connector-j-8.0.33.jar"
COPY --from=build /build/release/dinky /opt/dinky/
COPY --from=flink-base /opt/flink/lib/*.jar /opt/dinky/extends/flink${FLINK_VERSION}/
RUN rm -f /opt/dinky/extends/flink${FLINK_VERSION}/flink-table-planner-loader*.jar && \
curl -o /opt/dinky/extends/mysql-connector-j-8.0.33.jar "https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.0.33/mysql-connector-j-8.0.33.jar"

COPY --from=flink-base /opt/flink/opt/flink-table-planner*.jar /dinky/extends/flink${FLINK_VERSION}/

Expand Down

0 comments on commit 6710b93

Please sign in to comment.