Skip to content

Commit

Permalink
fix dockerfile for binder
Browse files Browse the repository at this point in the history
  • Loading branch information
Bultako committed Sep 23, 2021
1 parent 5727156 commit 1b95d53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Expand Up @@ -5,8 +5,7 @@ FROM continuumio/miniconda3:4.7.12
MAINTAINER Gammapy developers <gammapy@googlegroups.com>

# compilers
RUN apt-get update && apt-get install -y build-essential
RUN pip install --upgrade pip
RUN apt-get --allow-releaseinfo-change update
RUN apt install -y curl

# install dependencies - including the stable version of Gammapy
Expand All @@ -15,7 +14,8 @@ RUN curl -o tmp/environment.yml https://gammapy.org/download/install/gammapy-0.1

WORKDIR tmp/
RUN conda update conda
RUN conda install -q -y pyyaml
RUN conda install -c conda-forge mamba
RUN mamba install -q -y pyyaml
RUN python binder.py

# add gammapy user running the jupyter notebook process
Expand Down

0 comments on commit 1b95d53

Please sign in to comment.