-
Notifications
You must be signed in to change notification settings - Fork 3k
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 #1221 from mathbunnyru/asalikhov/improve_binder
Improve binder image
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
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,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 |