File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ ENV LANGUAGE='en_US:en'
87
87
ENV DEBEZIUM_VERSION=2.5.0.Alpha2 \
88
88
OPERATOR_HOME=/operator \
89
89
MAVEN_REPO_CENTRAL="https://repo1.maven.org/maven2"
90
- ENV OPERATOR_URL_PATH=io/debezium/debezium-operator/$DEBEZIUM_VERSION/debezium-operator-$DEBEZIUM_VERSION.tar.gz \
90
+ ENV OPERATOR_URL_PATH=io/debezium/debezium-operator-dist /$DEBEZIUM_VERSION/debezium-operator-dist -$DEBEZIUM_VERSION.tar.gz \
91
91
OPERATOR_MD5=89215c080b01361f6df0d1fa7e90ee0c
92
92
93
93
USER root
Original file line number Diff line number Diff line change
1
+ debezium-operator-dist * .tar.gz
Original file line number Diff line number Diff line change @@ -101,10 +101,10 @@ RUN mkdir $OPERATOR_HOME;
101
101
#
102
102
# Download the snapshot version of debezium-operator and then install it to the `$OPERATOR_HOME` directory...
103
103
#
104
- 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}' ); \
105
- echo "Downloading and installing debezium-operator-$SNAPSHOT_VERSION.tar.gz ..." ; \
104
+ 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}' ); \
105
+ echo "Downloading and installing debezium-operator-dist- $SNAPSHOT_VERSION.tar.gz ..." ; \
106
106
curl --silent -fSL -o /tmp/operator.tar.gz $MAVEN_OSS_SNAPSHOT/io/debezium/debezium-operator/$DEBEZIUM_VERSION/debezium-operator-$SNAPSHOT_VERSION.tar.gz && \
107
- echo "Extracting debezium-operator-$SNAPSHOT_VERSION.tar.gz ..." && \
107
+ echo "Extracting debezium-operator-dist- $SNAPSHOT_VERSION.tar.gz ..." && \
108
108
tar xzf /tmp/operator.tar.gz -C $OPERATOR_HOME --strip-components 1 && \
109
109
echo "Successfully installed debezium-operator-$SNAPSHOT_VERSION.tar.gz !" && \
110
110
rm -f /tmp/operator.tar.gz;
You can’t perform that action at this time.
0 commit comments