Skip to content

Commit

Permalink
Revert "MET-5947 flink version upgraded to 1.20"
Browse files Browse the repository at this point in the history
This reverts commit face7a0
  • Loading branch information
pWoz committed Dec 1, 2024
1 parent 383b7e0 commit 714bcdc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docker/build-docker-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ echo building flink-poc docker image that can be deployed on the openshift clust
#images
cd flink_java21
echo building :: flink java 21 base $(pwd)
docker build --no-cache -t flink:1.20.0-java21_poc .
docker build --no-cache -t flink:1.18.1-java21_poc .
cd ..
cd flink-node
echo building :: flink-node $(pwd)
Expand Down
2 changes: 1 addition & 1 deletion docker/flink-node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM flink:1.20.0-java21_poc
FROM flink:1.18.1-java21_poc

MAINTAINER PSNC

Expand Down
16 changes: 8 additions & 8 deletions docker/flink_java21/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ RUN set -ex; \
gosu nobody true

# Configure Flink version
ENV FLINK_TGZ_URL=https://dlcdn.apache.org/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz \
FLINK_ASC_URL=https://downloads.apache.org/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz.asc \
GPG_KEY=B2D64016B940A7E0B9B72E0D7D0528B28037D8BC \
ENV FLINK_TGZ_URL=https://www.apache.org/dyn/closer.cgi?action=download&filename=flink/flink-1.18.1/flink-1.18.1-bin-scala_2.12.tgz \
FLINK_ASC_URL=https://downloads.apache.org/flink/flink-1.18.1/flink-1.18.1-bin-scala_2.12.tgz.asc \
GPG_KEY=96AE0E32CBE6E0753CE6DF6CB078D1D3253A8D82 \
CHECK_GPG=true

# Prepare environment
Expand Down Expand Up @@ -81,11 +81,11 @@ RUN set -ex; \
chown -R flink:flink .; \
\
# Replace default REST/RPC endpoint bind address to use the container's network interface \
sed -i 's/rest.address: localhost/rest.address: 0.0.0.0/g' $FLINK_HOME/conf/config.yaml; \
sed -i 's/rest.bind-address: localhost/rest.bind-address: 0.0.0.0/g' $FLINK_HOME/conf/config.yaml; \
sed -i 's/jobmanager.bind-host: localhost/jobmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/config.yaml; \
sed -i 's/taskmanager.bind-host: localhost/taskmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/config.yaml; \
sed -i '/taskmanager.host: localhost/d' $FLINK_HOME/conf/config.yaml;
sed -i 's/rest.address: localhost/rest.address: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml; \
sed -i 's/rest.bind-address: localhost/rest.bind-address: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml; \
sed -i 's/jobmanager.bind-host: localhost/jobmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml; \
sed -i 's/taskmanager.bind-host: localhost/taskmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml; \
sed -i '/taskmanager.host: localhost/d' $FLINK_HOME/conf/flink-conf.yaml;

# Configure container
COPY docker-entrypoint.sh /
Expand Down

0 comments on commit 714bcdc

Please sign in to comment.