20 lines
494 B
Docker
20 lines
494 B
Docker
FROM ubuntu:latest
|
|
|
|
RUN apt update -y && apt install -y make
|
|
RUN apt install -y git
|
|
RUN apt install -y gcc
|
|
RUN apt install -y gawk
|
|
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
|
|
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/ |