-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (22 loc) · 690 Bytes
/
Dockerfile
File metadata and controls
27 lines (22 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM rocker/binder:3.6.3
## Declares build arguments
ARG NB_USER
ARG NB_UID
## Copies your repo files into the Docker Container
USER root
RUN python3 --version
## Install eosio.cdt 1.7.0
RUN apt update
RUN apt install -y libncurses5
COPY . ${HOME}
## Enable this to copy files from the binder subdirectory
## to the home, overriding any existing files.
## Useful to create a setup on binder that is different from a
## clone of your repository
## COPY binder ${HOME}
RUN chown -R ${NB_USER} ${HOME}
## Become normal user again
USER ${NB_USER}
## Run an install.R script, if it exists.
RUN if [ -f install.R ]; then R --quiet -f install.R; fi
RUN python3 -m pip install -U mixin-python