piston/repo/Dockerfile

21 lines
1.1 KiB
Docker
Raw Normal View History

2021-02-27 13:15:52 +01:00
FROM debian:buster-slim
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y unzip autoconf build-essential libssl-dev \
pkg-config zlib1g-dev libargon2-dev libsodium-dev libcurl4-openssl-dev \
sqlite3 libsqlite3-dev libonig-dev libxml2 libxml2-dev bc curl git \
linux-headers-amd64 perl xz-utils python3 python3-pip gnupg jq zlib1g-dev \
cmake cmake-doc extra-cmake-modules build-essential gcc binutils bash coreutils \
util-linux pciutils usbutils coreutils binutils findutils grep libncurses5-dev \
libncursesw5-dev python3-pip libgmp-dev libmpfr-dev python2 libffi-dev gfortran\
libreadline-dev libblas-dev liblapack-dev libpcre3-dev libarpack2-dev libfftw3-dev \
2021-09-12 14:38:57 +02:00
libglpk-dev libqhull-dev libqrupdate-dev libsuitesparse-dev libsundials-dev \
libbz2-dev liblzma-dev libpcre2-dev && \
2021-02-20 23:39:03 +01:00
ln -sf /bin/bash /bin/sh && \
2021-03-20 10:05:36 +01:00
rm -rf /var/lib/apt/lists/* && \
2021-03-20 10:08:00 +01:00
update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2
2021-02-20 23:39:03 +01:00
2021-03-14 02:50:55 +01:00
ADD entrypoint.sh mkindex.sh /
ENTRYPOINT ["bash","/entrypoint.sh"]
2021-03-14 01:21:06 +01:00
CMD ["--no-build"]