Skip to content

Commit

Permalink
Merge pull request #1221 from mathbunnyru/asalikhov/improve_binder
Browse files Browse the repository at this point in the history
Improve binder image
  • Loading branch information
romainx authored Jan 22, 2021
2 parents c42722b + c439839 commit fad26c2
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion binder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
FROM jupyter/base-notebook:aec555e49be6

# https://hub.docker.com/r/jupyter/base-notebook/tags
ARG BASE_CONTAINER=jupyter/base-notebook:aec555e49be6
FROM $BASE_CONTAINER

LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
ENV TAG="aec555e49be6"

COPY binder/README.ipynb .

# Fix permissions on README.ipynb as root
USER root

RUN fix-permissions README.ipynb

# Switch back to jovyan to avoid accidental container runs as root
USER $NB_UID

WORKDIR $HOME

0 comments on commit fad26c2

Please sign in to comment.