Created
September 9, 2021 15:03
-
-
Save vndee/6521c0f6e71bfce73079b7076de09ec4 to your computer and use it in GitHub Desktop.
Hadoop Distributed File System
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
# Simulated HDFS | |
ARG debian_buster_image_tag=8-jre-slim | |
FROM openjdk:${debian_buster_image_tag} | |
# -- Layer: OS + Python 3.7 | |
ARG shared_workspace=/opt/workspace | |
RUN mkdir -p ${shared_workspace} && \ | |
apt-get update -y && \ | |
apt-get install -y python3 && \ | |
ln -s /usr/bin/python3 /usr/bin/python && \ | |
rm -rf /var/lib/apt/lists/* | |
ENV SHARED_WORKSPACE=${shared_workspace} | |
# -- Runtime | |
VOLUME ${shared_workspace} | |
CMD ["bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment