-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
/usr/bin/python3 is now symlinked rather than copied
- Loading branch information
Showing
3 changed files
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
# | ||
# Source: https://github.com/data-engineering-helpers/dpp-images/tree/main/pyspark-py310/Dockerfile | ||
# Source: https://github.com/data-engineering-helpers/dpp-images/tree/main/corretto-emr-dbs-universal-spark-scala/Dockerfile | ||
# On Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/dpp/general | ||
# Usual Docker tags: | ||
# * infrahelpers/dpp:jdk8-sbt{SBT_VERSION} | ||
# | ||
# Image containing python installation, to be accessed by EMR and Databricks (for spark scala) | ||
# Image containing python installation, to be accessed by EMR and Databricks (for Spark Scala) | ||
# See https://github.com/data-engineering-helpers/dpp-images/tree/main/coretto-emr-dbs-universal-base/Dockerfile | ||
# for more details about the base image (tag: infrahelpers/dpp:jdk{JDK_VERSION}) | ||
# | ||
FROM infrahelpers/dpp:jdk8 | ||
|
||
ARG SBT_VERSION | ||
|
||
LABEL authors="Antoine Chenon<antoine.chenon@decathlon.com>" | ||
LABEL authors="Antoine Chenon<antoine.chenon@decathlon.com>, Denis Arnaud <denis.arnaud_fedora@m4x.org>" | ||
|
||
# Update the OS | ||
RUN yum -y update && yum clean all | ||
RUN yum -y update && yum clean all && rm -rf /var/cache/yum | ||
|
||
# Install sbt | ||
RUN rm -f /etc/yum.repos.d/bintray-rpm.repo; curl -L https://www.scala-sbt.org/sbt-rpm.repo > sbt-rpm.repo; mv sbt-rpm.repo /etc/yum.repos.d/; yum -y install sbt-${SBT_VERSION}-0 | ||
RUN rm -f /etc/yum.repos.d/bintray-rpm.repo && \ | ||
curl -kLs https://www.scala-sbt.org/sbt-rpm.repo -o /etc/yum.repos.d/sbt-rpm.repo && \ | ||
yum -y install sbt-${SBT_VERSION}-0 && \ | ||
sbt -version | ||
|