2019-04-26 12:26:11 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
|
|
RUN apt update -y && apt install -y make
|
|
|
|
RUN apt install -y git
|
|
|
|
RUN apt install -y gcc
|
|
|
|
RUN gcc --version
|
|
|
|
RUN apt install -y build-essential
|
2019-04-26 13:31:59 +02:00
|
|
|
|
|
|
|
# install python
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y python3-pip python3-dev \
|
|
|
|
&& cd /usr/local/bin \
|
|
|
|
&& ln -s /usr/bin/python3 python \
|
|
|
|
&& pip3 install --upgrade pip
|
|
|
|
|
2019-04-26 12:26:11 +02:00
|
|
|
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
|