@@ -8,8 +8,10 @@ ADD . /go/src/github.com/gopherdata/gophernotes/
88RUN set -x \
99 # install python and dependencies
1010 && apk update \
11- && apk --no-cache add \
12- ca-certificates \
11+ && apk --no-cache \
12+ --repository http://dl-4.alpinelinux.org/alpine/v3.7/community \
13+ --repository http://dl-4.alpinelinux.org/alpine/v3.7/main \
14+ --arch=x86_64 add \
1315 python3 \
1416 su-exec \
1517 gcc \
@@ -20,16 +22,17 @@ RUN set -x \
2022 zeromq-dev \
2123 musl-dev \
2224 mercurial \
23- && pip3 install --upgrade pip \
24- && cp /usr/bin/python3.5 /usr/bin/python \
25+ && pip3 install --upgrade pip==9.0.3 \
26+ && cp /usr/bin/python3.6 /usr/bin/python \
2527 ## install Go
2628 && apk --update-cache --allow-untrusted \
2729 --repository http://dl-4.alpinelinux.org/alpine/edge/community \
2830 --arch=x86_64 add \
2931 go \
3032 ## jupyter notebook
3133 && ln -s /usr/include/locale.h /usr/include/xlocale.h \
32- && pip3 install jupyter notebook \
34+ ### fix pyzmq to v16.0.2 as that is what is distributed with py3-zmq
35+ && pip3 install jupyter notebook pyzmq==16.0.2 \
3336 ## install gophernotes
3437 && export GOPATH=/go \
3538 && go install github.com/gopherdata/gophernotes \
@@ -50,14 +53,14 @@ RUN set -x \
5053 && go get github.com/patrickmn/go-cache \
5154 && go get github.com/chewxy/math32 \
5255 && go get github.com/chewxy/hm \
53- && go get github.com/chewxy /vecf64 \
54- && go get github.com/chewxy /vecf32 \
56+ && go get gorgonia.org /vecf64 \
57+ && go get gorgonia.org /vecf32 \
5558 && go get github.com/awalterschulze/gographviz \
5659 && go get github.com/leesper/go_rng \
5760 && go get github.com/pkg/errors \
5861 && go get github.com/stretchr/testify/assert \
5962 ## clean
60- && find /usr/lib/python3.5 -name __pycache__ | xargs rm -r \
63+ && find /usr/lib/python3.6 -name __pycache__ | xargs rm -r \
6164 && rm -rf \
6265 /root/.[acpw]* \
6366 ipaexg00301* \
0 commit comments