Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
2128faf
Created CentOS 8 mininal image
Nov 16, 2021
8f3f21f
Added Python, FUSE, SSH and standard containers
Nov 16, 2021
5afe45f
Added README
Nov 16, 2021
9d0c9b2
Updated Python-container per https://github.com/databricks/containers…
Dec 31, 2021
36187a3
initial ganglia testing
rportilla-databricks May 27, 2021
84bb1ea
ganglia_img
rportilla-databricks May 28, 2021
dfa53ad
latest ganglia docker attempt
rportilla-databricks May 29, 2021
ae1d5d4
pushing ganglia.conf
rportilla-databricks May 29, 2021
cc50d34
added comments
rportilla-databricks May 29, 2021
fce75fa
latest ganglia changes
rportilla-databricks Jun 27, 2021
1a4fd66
adding gconf configs
rportilla-databricks Nov 24, 2021
c9b365c
adding gconf configs
rportilla-databricks Nov 24, 2021
668cba5
adding files to support ADD instead of inline shell comamnds
rportilla-databricks Nov 26, 2021
9f06cdd
Merge branch 'databricks:master' into centos8
HQJaTu Jan 3, 2022
8e3e00b
Changed minimal base image into CentOS 8 Stream. See: https://www.cen…
Jan 3, 2022
9f0aea4
Bugfix: Added missing ps-command into Databricks:minimal for Spark Ma…
Feb 6, 2022
5f6e276
Bugfix: Added missing ip-command to make Spark Driver working properly
Feb 7, 2022
0a8bf1f
Merge branch 'databricks:master' into centos8
HQJaTu Feb 7, 2022
9c9cdae
Merge branch 'databricks:master' into centos8
HQJaTu Jun 27, 2022
54c7e92
Changed Dockerhub repository name / tag system into something sustain…
Jun 27, 2022
b179c9f
Merge branch 'databricks:master' into centos8
HQJaTu Oct 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions experimental/centos/centos-8/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Databricks Container Services - CentOS 8 Containers

This is a Databricks container runtime using CentOS 8 as base image.

### Info
- [DockerHub](https://hub.docker.com/_/centos) CentOS images
- Crypto policies in minimal are set to LEGACY enabling TLSv1, TLSv1.1 and CBC-ciphers
to allow connections into AWS RDS MySQL / MariaDB

## Images

- [Standard](standard): FUSE + OpenSSH server
- [Minimal](minimal): base, OpenJDK 1.8
- [Python](python): Pyton 3.8
- [DBFS FUSE](dbfsfuse): FUSE
- [SSH](ssh): OpenSSH server
9 changes: 9 additions & 0 deletions experimental/centos/centos-8/dbfsfuse/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM kingjatu/databricks-centos-8-python:latest

# Fuse:
RUN dnf install -y \
fuse

# Clean-up:
RUN dnf clean all \
&& rm -rf /tmp/* /var/tmp/*
19 changes: 19 additions & 0 deletions experimental/centos/centos-8/minimal/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM quay.io/centos/centos:stream8

# Import keys to suppress warnings about GPG-keys
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial \
&& rpm --import https://packages.microsoft.com/keys/microsoft.asc

# Minimal:
# WARNING! Lower security by enabling TLSv1 and TLSv1.1
# Docs: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/considerations_in_adopting_rhel_8/security_considerations-in-adopting-rhel-8#tls-v10-v11_security
RUN dnf install -y \
java-1.8.0-openjdk \
sudo \
procps iproute \
&& update-ca-trust \
&& update-crypto-policies --set LEGACY

# Clean-up:
RUN dnf clean all \
&& rm -rf /tmp/* /var/tmp/*
30 changes: 30 additions & 0 deletions experimental/centos/centos-8/python/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
FROM kingjatu/databricks-centos-8-minimal:latest

# Python:
ARG python_dir=/databricks/python3/bin
RUN dnf install -y \
python38 \
python3-virtualenv

# Initialize the default environment that Spark and notebooks will use
RUN virtualenv --python python3.8 --system-site-packages /databricks/python3

# Clean-up:
RUN dnf clean all \
&& rm -rf /tmp/* /var/tmp/*

# These python libraries are used by Databricks notebooks and the Python REPL
# You do not need to install pyspark - it is injected when the cluster is launched
# Versions are intended to reflect DBR 9.0
RUN $python_dir/pip install \
six==1.15.0 \
# ensure minimum ipython version for Python autocomplete with jedi 0.17.x
ipython==7.19.0 \
numpy==1.19.2 \
pandas==1.2.4 \
pyarrow==4.0.0 \
matplotlib==3.4.2 \
jinja2==2.11.3

# Specifies where Spark will look for the python process
ENV PYSPARK_PYTHON=/databricks/python3/bin/python3
14 changes: 14 additions & 0 deletions experimental/centos/centos-8/ssh/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM kingjatu/databricks-centos-8-minimal:latest

# Fuse:
RUN dnf install -y \
openssh-server

# Clean-up:
RUN dnf clean all \
&& rm -rf /tmp/* /var/tmp/*

# Add new user: bricks
# Warning: the created user has root permissions inside the container
# Warning: you still need to start the ssh process with `sudo service ssh start`
RUN useradd --create-home --shell /bin/bash --groups wheel bricks
14 changes: 14 additions & 0 deletions experimental/centos/centos-8/standard/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM kingjatu/databricks-centos-8-dbfsfuse:latest

# Fuse:
RUN dnf install -y \
openssh-server

# Clean-up:
RUN dnf clean all \
&& rm -rf /tmp/* /var/tmp/*

# Add new user: bricks
# Warning: the created user has root permissions inside the container
# Warning: you still need to start the ssh process with `sudo service ssh start`
RUN useradd --create-home --shell /bin/bash --groups wheel bricks