From 46348bcb8f2582efdae3809360115b0c4e8e1ea7 Mon Sep 17 00:00:00 2001 From: Matthew McKnight <91097623+McKnight-42@users.noreply.github.com> Date: Wed, 31 Jul 2024 13:12:27 -0500 Subject: [PATCH] update netcat install method to fix ci/cd (#1084) --- dagger/spark-container/install_spark.sh | 2 +- docker/spark.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dagger/spark-container/install_spark.sh b/dagger/spark-container/install_spark.sh index 476f362a9..a9816020d 100755 --- a/dagger/spark-container/install_spark.sh +++ b/dagger/spark-container/install_spark.sh @@ -4,7 +4,7 @@ SPARK_VERSION=3.1.3 HADOOP_VERSION=3.2 apt-get update && \ -apt-get install -y wget netcat procps libpostgresql-jdbc-java && \ +apt-get install -y wget netcat-openbsd procps libpostgresql-jdbc-java && \ wget -q "https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz" && \ tar xzf "spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz" && \ rm "spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz" && \ diff --git a/docker/spark.Dockerfile b/docker/spark.Dockerfile index bb4d378ed..49138af50 100644 --- a/docker/spark.Dockerfile +++ b/docker/spark.Dockerfile @@ -13,7 +13,7 @@ ENV SPARK_HOME /usr/spark ENV PATH="/usr/spark/bin:/usr/spark/sbin:${PATH}" RUN apt-get update && \ - apt-get install -y wget netcat procps libpostgresql-jdbc-java && \ + apt-get install -y wget netcat-openbsd procps libpostgresql-jdbc-java && \ wget -q "http://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz" && \ tar xzf "spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz" && \ rm "spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz" && \