Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Duberstein committed Aug 30, 2019
1 parent a928b02 commit 4993b47
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions bindings/python/pydeck/binder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,26 @@ RUN apt-get update
RUN apt-get -y install curl gnupg
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash -
RUN apt-get -y install nodejs
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update
RUN apt-get -y install yarn

RUN apt-get install -y g++-6 && \
apt-get install -y mesa-utils && \
apt-get install -y xvfb && \
apt-get install -y libgl1-mesa-dri && \
apt-get install -y libglapi-mesa && \
apt-get install -y libosmesa6 && \
apt-get install -y libxi-dev

ENV HOME=/tmp
COPY . ${HOME}
WORKDIR ${HOME}/bindings/python/pydeck

RUN pip install -r requirements.txt \
&& pip install -r requirements-dev.txt \
&& pip install -e .
RUN jupyter nbextension install --py --symlink --sys-prefix pydeck \
&& jupyter nbextension enable --py --sys-prefix pydeck
&& pip install -e . --install-option "--build_all"

ARG NB_USER=jovyan
ARG NB_UID=1000
Expand Down

0 comments on commit 4993b47

Please sign in to comment.