2021-02-27 13:15:52 +01:00
|
|
|
FROM debian:buster-slim
|
2021-04-07 02:31:30 +02:00
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
2021-04-28 01:03:33 +02:00
|
|
|
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 \
|
2021-05-02 04:41:53 +02:00
|
|
|
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 \
|
2022-05-31 15:39:03 +02:00
|
|
|
libbz2-dev liblzma-dev libpcre2-dev gperf bison flex g++ gawk zip && \
|
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
|
|
|
|
2023-10-03 12:59:23 +02:00
|
|
|
ADD entrypoint.sh mkindex.sh serve.py /
|
2021-02-28 06:23:28 +01:00
|
|
|
|
|
|
|
ENTRYPOINT ["bash","/entrypoint.sh"]
|
2021-03-14 01:21:06 +01:00
|
|
|
CMD ["--no-build"]
|