Skip to content

Commit

Permalink
Do not check certificates for archive.apache.org
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed Feb 15, 2024
1 parent 3db8c29 commit f8152e2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions testing/phoenix5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ARG PHOENIX_BINARY_PATH=$BASE_URL/phoenix/phoenix-$PHOENIX_VERSION/phoenix-hbase
RUN mkdir -p $IMAGE_ROOT_INSTALL

# Download ZooKeeper
RUN wget --quiet $ZOOKEEPER_BINARY_PATH && \
RUN wget --no-check-certificate -nv $ZOOKEEPER_BINARY_PATH && \
tar -xf apache-zookeeper-$ZOOKEEPER_VERSION-bin.tar.gz -C $IMAGE_ROOT_INSTALL && \
rm apache-zookeeper-$ZOOKEEPER_VERSION-bin.tar.gz && \
ln -s $IMAGE_ROOT_INSTALL/apache-zookeeper-$ZOOKEEPER_VERSION-bin $ZOOKEEPER_HOME && \
Expand All @@ -45,7 +45,7 @@ RUN wget --quiet $HBASE_BINARY_PATH && \
ln -s $IMAGE_ROOT_INSTALL/hbase-$HBASE_VERSION $HBASE_HOME

# Download Phoenix
RUN wget --quiet $PHOENIX_BINARY_PATH && \
RUN wget --quiet --no-check-certificate $PHOENIX_BINARY_PATH && \
tar -xf phoenix-hbase-$PHOENIX_HBASE_VERSION-bin.tar.gz -C $IMAGE_ROOT_INSTALL && \
rm phoenix-hbase-$PHOENIX_HBASE_VERSION-bin.tar.gz && \
ln -s $IMAGE_ROOT_INSTALL/phoenix-hbase-$PHOENIX_HBASE_VERSION-bin $PHOENIX_HOME
Expand Down
2 changes: 1 addition & 1 deletion testing/spark3-delta/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ARG SPARK_ARTIFACT="spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}"
ENV SPARK_HOME=/spark

RUN set -xeu; \
wget -nv "https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/${SPARK_ARTIFACT}.tgz"; \
wget --no-check-certificate -nv "https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/${SPARK_ARTIFACT}.tgz"; \
tar -xf ${SPARK_ARTIFACT}.tgz; \
rm ${SPARK_ARTIFACT}.tgz; \
ln -sn /${SPARK_ARTIFACT} ${SPARK_HOME}
Expand Down
2 changes: 1 addition & 1 deletion testing/spark3-hudi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ARG SPARK_ARTIFACT="spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}"
ENV SPARK_HOME=/spark

RUN set -xeu; \
wget -nv "https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/${SPARK_ARTIFACT}.tgz"; \
wget --no-check-certificate -nv "https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/${SPARK_ARTIFACT}.tgz"; \
tar -xf ${SPARK_ARTIFACT}.tgz; \
rm ${SPARK_ARTIFACT}.tgz; \
ln -sn /${SPARK_ARTIFACT} ${SPARK_HOME}
Expand Down
2 changes: 1 addition & 1 deletion testing/spark3-iceberg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ARG SPARK_ARTIFACT="spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}"
ENV SPARK_HOME=/spark

RUN set -xeu; \
wget -nv "https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/${SPARK_ARTIFACT}.tgz"; \
wget --no-check-certificate -nv "https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/${SPARK_ARTIFACT}.tgz"; \
tar -xf ${SPARK_ARTIFACT}.tgz; \
rm ${SPARK_ARTIFACT}.tgz; \
ln -sn /${SPARK_ARTIFACT} ${SPARK_HOME}
Expand Down

0 comments on commit f8152e2

Please sign in to comment.