s407259-mlworkshops/Dockerfile

20 lines
531 B
Docker
Raw Normal View History

2019-04-26 12:26:13 +02:00
FROM ubuntu:latest
2019-04-26 13:15:48 +02:00
ENV DEBIAN_FRONTEND=noninteractive
2019-04-26 12:26:13 +02:00
RUN apt update -y && apt install -y make
RUN apt install -y git
RUN apt install -y gcc
2019-04-26 12:32:38 +02:00
RUN apt install -y python3
2019-04-26 12:26:13 +02:00
RUN gcc --version
RUN apt install -y build-essential
RUN git clone https://github.com/usnistgov/SCTK.git
WORKDIR SCTK
RUN make config && make all && make check && make install && make doc
2019-04-26 13:31:49 +02:00
ENV PATH=$PATH:/SCTK/bin
FROM python:3.6.1
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
ADD requirements.txt /code/
RUN pip3 install -r requirements.txt
ADD . /code/