Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not check certificates for archive.apache.org #187

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 && \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--no-check-certificate should be code-documented i guess

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternative: #188

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
Loading