diff --git a/dagger/spark-container/install_spark.sh b/dagger/spark-container/install_spark.sh index 476f362a9..3e19610ca 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/Dockerfile b/docker/Dockerfile index bb4d378ed..d555dd1cd 100644 --- a/docker/Dockerfile +++ b/docker/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" && \