Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 46348bc

Browse files
authored
update netcat install method to fix ci/cd (#1084)
1 parent a52aac6 commit 46348bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dagger/spark-container/install_spark.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SPARK_VERSION=3.1.3
44
HADOOP_VERSION=3.2
55

66
apt-get update && \
7-
apt-get install -y wget netcat procps libpostgresql-jdbc-java && \
7+
apt-get install -y wget netcat-openbsd procps libpostgresql-jdbc-java && \
88
wget -q "https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz" && \
99
tar xzf "spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz" && \
1010
rm "spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz" && \

docker/spark.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ENV SPARK_HOME /usr/spark
1313
ENV PATH="/usr/spark/bin:/usr/spark/sbin:${PATH}"
1414

1515
RUN apt-get update && \
16-
apt-get install -y wget netcat procps libpostgresql-jdbc-java && \
16+
apt-get install -y wget netcat-openbsd procps libpostgresql-jdbc-java && \
1717
wget -q "http://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz" && \
1818
tar xzf "spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz" && \
1919
rm "spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz" && \

0 commit comments

Comments
 (0)