Skip to content

Commit

Permalink
DBZ-6551 Adapting to modularisation of operator project
Browse files Browse the repository at this point in the history
  • Loading branch information
jcechace authored and jpechane committed Dec 4, 2023
1 parent 42f6268 commit 984c231
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion operator/2.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ ENV LANGUAGE='en_US:en'
ENV DEBEZIUM_VERSION=2.5.0.Alpha2 \
OPERATOR_HOME=/operator \
MAVEN_REPO_CENTRAL="https://repo1.maven.org/maven2"
ENV OPERATOR_URL_PATH=io/debezium/debezium-operator/$DEBEZIUM_VERSION/debezium-operator-$DEBEZIUM_VERSION.tar.gz \
ENV OPERATOR_URL_PATH=io/debezium/debezium-operator-dist/$DEBEZIUM_VERSION/debezium-operator-dist-$DEBEZIUM_VERSION.tar.gz \
OPERATOR_MD5=89215c080b01361f6df0d1fa7e90ee0c

USER root
Expand Down
1 change: 1 addition & 0 deletions operator/snapshot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
debezium-operator-dist*.tar.gz
6 changes: 3 additions & 3 deletions operator/snapshot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ RUN mkdir $OPERATOR_HOME;
#
# Download the snapshot version of debezium-operator and then install it to the `$OPERATOR_HOME` directory...
#
RUN SNAPSHOT_VERSION=$(curl --silent -fSL $MAVEN_OSS_SNAPSHOT/io/debezium/debezium-operator/$DEBEZIUM_VERSION/maven-metadata.xml | awk -F'<[^>]+>' '/<extension>tar.gz<\/extension>/ {getline; print $2; exit}'); \
echo "Downloading and installing debezium-operator-$SNAPSHOT_VERSION.tar.gz ..." ; \
RUN SNAPSHOT_VERSION=$(curl --silent -fSL $MAVEN_OSS_SNAPSHOT/io/debezium/debezium-operator-dist/$DEBEZIUM_VERSION/maven-metadata.xml | awk -F'<[^>]+>' '/<extension>tar.gz<\/extension>/ {getline; print $2; exit}'); \
echo "Downloading and installing debezium-operator-dist-$SNAPSHOT_VERSION.tar.gz ..." ; \
curl --silent -fSL -o /tmp/operator.tar.gz $MAVEN_OSS_SNAPSHOT/io/debezium/debezium-operator/$DEBEZIUM_VERSION/debezium-operator-$SNAPSHOT_VERSION.tar.gz && \
echo "Extracting debezium-operator-$SNAPSHOT_VERSION.tar.gz ..." && \
echo "Extracting debezium-operator-dist-$SNAPSHOT_VERSION.tar.gz ..." && \
tar xzf /tmp/operator.tar.gz -C $OPERATOR_HOME --strip-components 1 && \
echo "Successfully installed debezium-operator-$SNAPSHOT_VERSION.tar.gz !" && \
rm -f /tmp/operator.tar.gz;
Expand Down

0 comments on commit 984c231

Please sign in to comment.