You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by yi...@apache.org on 2023/06/27 06:09:47 UTC
[spark-docker] branch master updated: [SPARK-44175] Remove useless lib64 path link in dockerfile
This is an automated email from the ASF dual-hosted git repository.
yikun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark-docker.git
The following commit(s) were added to refs/heads/master by this push:
new 5405b49 [SPARK-44175] Remove useless lib64 path link in dockerfile
5405b49 is described below
commit 5405b49b52aa1661d31ac80cdb8c9aad530d6847
Author: Yikun Jiang <yi...@gmail.com>
AuthorDate: Tue Jun 27 14:09:34 2023 +0800
[SPARK-44175] Remove useless lib64 path link in dockerfile
### What changes were proposed in this pull request?
Remove useless lib64 path
### Why are the changes needed?
Address comments: https://github.com/docker-library/official-images/pull/13089#issuecomment-1601813499
It was introduced by https://github.com/apache/spark/commit/f13ea15d79fb4752a0a75a05a4a89bd8625ea3d5 to address the issue about snappy on alpine OS, but we already switch the OS to ubuntu, so `/lib64` hack can be cleanup.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
CI passed
Closes #48 from Yikun/rm-lib64-hack.
Authored-by: Yikun Jiang <yi...@gmail.com>
Signed-off-by: Yikun Jiang <yi...@gmail.com>
---
3.4.0/scala2.12-java11-ubuntu/Dockerfile | 1 -
3.4.1/scala2.12-java11-ubuntu/Dockerfile | 1 -
Dockerfile.template | 1 -
3 files changed, 3 deletions(-)
diff --git a/3.4.0/scala2.12-java11-ubuntu/Dockerfile b/3.4.0/scala2.12-java11-ubuntu/Dockerfile
index 77ace47..854f86c 100644
--- a/3.4.0/scala2.12-java11-ubuntu/Dockerfile
+++ b/3.4.0/scala2.12-java11-ubuntu/Dockerfile
@@ -23,7 +23,6 @@ RUN groupadd --system --gid=${spark_uid} spark && \
RUN set -ex; \
apt-get update; \
- ln -s /lib /lib64; \
apt-get install -y gnupg2 wget bash tini libc6 libpam-modules krb5-user libnss3 procps net-tools gosu libnss-wrapper; \
mkdir -p /opt/spark; \
mkdir /opt/spark/python; \
diff --git a/3.4.1/scala2.12-java11-ubuntu/Dockerfile b/3.4.1/scala2.12-java11-ubuntu/Dockerfile
index e782686..bf106a6 100644
--- a/3.4.1/scala2.12-java11-ubuntu/Dockerfile
+++ b/3.4.1/scala2.12-java11-ubuntu/Dockerfile
@@ -23,7 +23,6 @@ RUN groupadd --system --gid=${spark_uid} spark && \
RUN set -ex; \
apt-get update; \
- ln -s /lib /lib64; \
apt-get install -y gnupg2 wget bash tini libc6 libpam-modules krb5-user libnss3 procps net-tools gosu libnss-wrapper; \
mkdir -p /opt/spark; \
mkdir /opt/spark/python; \
diff --git a/Dockerfile.template b/Dockerfile.template
index 6fedce9..80b57e2 100644
--- a/Dockerfile.template
+++ b/Dockerfile.template
@@ -23,7 +23,6 @@ RUN groupadd --system --gid=${spark_uid} spark && \
RUN set -ex; \
apt-get update; \
- ln -s /lib /lib64; \
apt-get install -y gnupg2 wget bash tini libc6 libpam-modules krb5-user libnss3 procps net-tools gosu libnss-wrapper; \
mkdir -p /opt/spark; \
mkdir /opt/spark/python; \
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org