Skip to content

Instantly share code, notes, and snippets.

@ZsBT
Created March 8, 2020 13:09
Show Gist options
  • Save ZsBT/3a2b07ed11bc32dd5a064b76511796f1 to your computer and use it in GitHub Desktop.
Save ZsBT/3a2b07ed11bc32dd5a064b76511796f1 to your computer and use it in GitHub Desktop.
NBIS software build
FROM debian:stable-slim
WORKDIR /usr/src
RUN apt update && apt -y install wget unzip gcc make build-essential
RUN wget https://nigos.nist.gov/nist/nbis/nbis_v5_0_0.zip && unzip *zip
RUN apt -y install cmake
RUN cd Rel_* && ./setup.sh /opt --without-X11 --64 && make config && make it && make install LIBNBIS=yes
RUN find /opt -type f
#
# docker build -t nbis:latest .
# img=$(docker create nbis:latest)
# docker cp $img:/opt nbis
#
# docker container rm $img
# docker image rm nbis:latest
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment