Created
June 12, 2022 22:37
-
-
Save Wittline/8f74e692c2f9d4dd27a2e2a437e7e546 to your computer and use it in GitHub Desktop.
Dockerfile for an Apache Livy server
This file contains hidden or 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
FROM docker.io/bitnami/spark:2 | |
USER root | |
ENV LIVY_HOME /opt/bitnami/livy | |
WORKDIR /opt/bitnami/ | |
RUN install_packages unzip \ | |
&& curl "https://downloads.apache.org/incubator/livy/0.7.1-incubating/apache-livy-0.7.1-incubating-bin.zip" -O \ | |
&& unzip "apache-livy-0.7.1-incubating-bin" \ | |
&& rm -rf "apache-livy-0.7.1-incubating-bin.zip" \ | |
&& mv "apache-livy-0.7.1-incubating-bin" $LIVY_HOME \ | |
&& mkdir $LIVY_HOME/logs \ | |
&& chown -R 1001:1001 $LIVY_HOME | |
USER 1001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment