Fix dockerfile

This commit is contained in:
Krzysztof Józefowicz 2019-05-16 20:50:05 +02:00
parent 49bfd31339
commit 8e4ec404a5

View File

@ -1,4 +1,4 @@
FROM ubuntu:latest
FROM python:3.6.8-stretch
RUN apt update -y && apt install -y make
RUN apt install -y git
@ -8,7 +8,7 @@ RUN gcc --version
RUN apt install -y build-essential
RUN git clone https://github.com/usnistgov/SCTK.git
RUN add-apt-repository ppa:jonathonf/python-3.6 && apt-get update && apt-get install python3.6
RUN python --version
WORKDIR SCTK
RUN make config && make all && make check && make install && make doc
ENV PATH=$PATH:/SCTK/bin