-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from guimou/ubi8
release 0.1.0
- Loading branch information
Showing
103 changed files
with
1,306 additions
and
529 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
Nothing there! | ||
|
||
## [0.1.0] - 2022-07-11 | ||
|
||
### Added | ||
|
||
- First official release | ||
- Image for Spark 3.3.0 + Hadoop 3.3.3 | ||
|
||
### Modified | ||
|
||
- All images now based on ubi8/openjdk-8 | ||
- Update of Google Spark Operator version (v1beta2-1.3.3-3.1.1) in the instructions | ||
- Images renaming | ||
- Removal of unneeded resources |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Each list is sorted alphabetically, additions should maintain that order | ||
approvers: | ||
- guimou | ||
- wseaton | ||
|
||
reviewers: | ||
- guimou | ||
- wseaton |
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Note: Spark 2.4.4 supports Python up to 3.7 only | ||
# As 3.7 is not available in the ubi8 images, we will install Python 3.6 | ||
|
||
ARG base_img | ||
|
||
FROM $base_img | ||
|
||
EXPOSE 8080 | ||
|
||
ENV PYTHON_VERSION=3.6 \ | ||
PATH=$HOME/.local/bin/:$PATH \ | ||
PYTHONUNBUFFERED=1 \ | ||
PYTHONIOENCODING=UTF-8 \ | ||
LC_ALL=en_US.UTF-8 \ | ||
LANG=en_US.UTF-8 \ | ||
CNB_STACK_ID=com.redhat.stacks.ubi8-python-36 \ | ||
CNB_USER_ID=1001 \ | ||
CNB_GROUP_ID=0 \ | ||
PIP_NO_CACHE_DIR=off | ||
|
||
USER 0 | ||
|
||
RUN INSTALL_PKGS="python36 python36-devel python3-virtualenv python3-setuptools python3-pip \ | ||
nss_wrapper httpd httpd-devel mod_ssl mod_auth_gssapi \ | ||
mod_ldap mod_session atlas-devel gcc-gfortran libffi-devel \ | ||
libtool-ltdl enchant" && \ | ||
microdnf -y module enable python36:3.6 httpd:2.4 && \ | ||
microdnf -y --setopt=tsflags=nodocs install $INSTALL_PKGS && \ | ||
microdnf -y clean all --enablerepo='*' && \ | ||
ln -s /usr/bin/python3 /usr/bin/python | ||
|
||
ENV PYTHONPATH ${SPARK_HOME}/python/lib/pyspark.zip:${SPARK_HOME}/python/lib/py4j-*.zip | ||
|
||
WORKDIR /opt/spark/work-dir | ||
ENTRYPOINT [ "/opt/entrypoint.sh" ] | ||
|
||
USER 185 |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Note: Spark 2.4.6 supports Python up to 3.7 only | ||
# As 3.7 is not available in the ubi8 images, we will install Python 3.6 | ||
|
||
ARG base_img | ||
|
||
FROM $base_img | ||
|
||
EXPOSE 8080 | ||
|
||
ENV PYTHON_VERSION=3.6 \ | ||
PATH=$HOME/.local/bin/:$PATH \ | ||
PYTHONUNBUFFERED=1 \ | ||
PYTHONIOENCODING=UTF-8 \ | ||
LC_ALL=en_US.UTF-8 \ | ||
LANG=en_US.UTF-8 \ | ||
CNB_STACK_ID=com.redhat.stacks.ubi8-python-36 \ | ||
CNB_USER_ID=1001 \ | ||
CNB_GROUP_ID=0 \ | ||
PIP_NO_CACHE_DIR=off | ||
|
||
USER 0 | ||
|
||
RUN INSTALL_PKGS="python36 python36-devel python3-virtualenv python3-setuptools python3-pip \ | ||
nss_wrapper httpd httpd-devel mod_ssl mod_auth_gssapi \ | ||
mod_ldap mod_session atlas-devel gcc-gfortran libffi-devel \ | ||
libtool-ltdl enchant" && \ | ||
microdnf -y module enable python36:3.6 httpd:2.4 && \ | ||
microdnf -y --setopt=tsflags=nodocs install $INSTALL_PKGS && \ | ||
microdnf -y clean all --enablerepo='*' && \ | ||
ln -s /usr/bin/python3 /usr/bin/python | ||
|
||
ENV PYTHONPATH ${SPARK_HOME}/python/lib/pyspark.zip:${SPARK_HOME}/python/lib/py4j-*.zip | ||
|
||
WORKDIR /opt/spark/work-dir | ||
ENTRYPOINT [ "/opt/entrypoint.sh" ] | ||
|
||
USER 185 |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Note: Spark 3.0.1 supports Python up to 3.8, this will be the installed version | ||
|
||
ARG base_img | ||
|
||
FROM $base_img | ||
|
||
EXPOSE 8080 | ||
|
||
ENV PYTHON_VERSION=3.8 \ | ||
PATH=$HOME/.local/bin/:$PATH \ | ||
PYTHONUNBUFFERED=1 \ | ||
PYTHONIOENCODING=UTF-8 \ | ||
LC_ALL=en_US.UTF-8 \ | ||
LANG=en_US.UTF-8 \ | ||
CNB_STACK_ID=com.redhat.stacks.ubi8-python-38 \ | ||
CNB_USER_ID=1001 \ | ||
CNB_GROUP_ID=0 \ | ||
PIP_NO_CACHE_DIR=off | ||
|
||
USER 0 | ||
|
||
RUN INSTALL_PKGS="python38 python38-devel python38-setuptools python38-pip nss_wrapper \ | ||
httpd httpd-devel mod_ssl mod_auth_gssapi mod_ldap \ | ||
mod_session atlas-devel gcc-gfortran libffi-devel libtool-ltdl enchant" && \ | ||
microdnf -y module enable python38:3.8 httpd:2.4 && \ | ||
microdnf -y --setopt=tsflags=nodocs install $INSTALL_PKGS && \ | ||
microdnf -y clean all --enablerepo='*' && \ | ||
ln -s /usr/bin/python3 /usr/bin/python | ||
|
||
ENV PYTHONPATH ${SPARK_HOME}/python/lib/pyspark.zip:${SPARK_HOME}/python/lib/py4j-*.zip | ||
|
||
WORKDIR /opt/spark/work-dir | ||
ENTRYPOINT [ "/opt/entrypoint.sh" ] | ||
|
||
USER 185 |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Note: Spark 3.3.0 supports Python up to 3.10, but we will install 3.9 | ||
|
||
ARG base_img | ||
|
||
FROM $base_img | ||
|
||
EXPOSE 8080 | ||
|
||
ENV PYTHON_VERSION=3.9 \ | ||
PATH=$HOME/.local/bin/:$PATH \ | ||
PYTHONUNBUFFERED=1 \ | ||
PYTHONIOENCODING=UTF-8 \ | ||
LC_ALL=en_US.UTF-8 \ | ||
LANG=en_US.UTF-8 \ | ||
CNB_STACK_ID=com.redhat.stacks.ubi8-python-39 \ | ||
CNB_USER_ID=1001 \ | ||
CNB_GROUP_ID=0 \ | ||
PIP_NO_CACHE_DIR=off | ||
|
||
USER 0 | ||
|
||
RUN INSTALL_PKGS="python39 python39-devel python39-setuptools python39-pip nss_wrapper \ | ||
httpd httpd-devel mod_ssl mod_auth_gssapi mod_ldap \ | ||
mod_session atlas-devel gcc-gfortran libffi-devel libtool-ltdl enchant" && \ | ||
microdnf -y module enable python39:3.9 httpd:2.4 && \ | ||
microdnf -y --setopt=tsflags=nodocs install $INSTALL_PKGS && \ | ||
microdnf -y clean all --enablerepo='*' && \ | ||
ln -s /usr/bin/python3 /usr/bin/python | ||
|
||
ENV PYTHONPATH ${SPARK_HOME}/python/lib/pyspark.zip:${SPARK_HOME}/python/lib/py4j-*.zip | ||
|
||
WORKDIR /opt/spark/work-dir | ||
ENTRYPOINT [ "/opt/entrypoint.sh" ] | ||
|
||
USER 185 |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.