-
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.
Merge pull request #52 from ministryofjustice/ag--upgrade-jupyter-lab…
…-allspark-image allspark: Bumped BASE image to get newer version of JupyterLab
- Loading branch information
Showing
1 changed file
with
4 additions
and
7 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM jupyter/all-spark-notebook:1145fb1198b2 | ||
FROM jupyter/all-spark-notebook:399cbb986c6b | ||
|
||
LABEL [email protected] | ||
|
||
|
@@ -9,13 +9,10 @@ ENV NB_UID=1001 | |
ENV CHOWN_HOME=no | ||
ENV PYSPARK_SUBMIT_ARGS="--packages com.amazonaws:aws-java-sdk:1.7.4,org.apache.hadoop:hadoop-aws:2.7.1 pyspark-shell" | ||
|
||
RUN update-alternatives --set editor /bin/nano \ | ||
&& usermod -a -G "staff,users" "${NB_USER}" | ||
|
||
COPY ./files/* /tmp/ | ||
|
||
RUN python /tmp/pyspark-s3.py \ | ||
&& pip install --upgrade nbstripout boto3 pip\ | ||
RUN pip install --upgrade pip boto3 pyspark nbstripout \ | ||
&& python /tmp/pyspark-s3.py \ | ||
&& pip install etl-manager==7.3.0 \ | ||
&& pip install gluejobutils==3.1.1 \ | ||
&& mv /tmp/hdfs-site.xml /usr/local/spark/conf \ | ||
|
@@ -32,4 +29,4 @@ RUN chown -R "${NB_UID}" /opt/conda \ | |
&& usermod -u "${NB_UID}" "${NB_USER}" | ||
|
||
RUN usermod -a -G "staff,users" "${NB_USER}" \ | ||
&& update-alternatives --set editor /bin/nano | ||
&& update-alternatives --set editor /bin/nano-tiny |