20 lines
539 B
Docker
20 lines
539 B
Docker
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
|
|
|
|
# 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
|
|
|
|
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 |