Loading Dockerfile +21 −13 Original line number Diff line number Diff line Loading @@ -4,15 +4,17 @@ FROM debian:buster ENV LANG C.UTF-8 ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && \ apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git apt-utils apt-get install -y --no-install-recommends \ gnupg ca-certificates dirmngr curl git apt-utils \ zlib1g-dev libtinfo-dev libsqlite3-dev g++ netbase xz-utils make locales wget RUN echo 'deb http://downloads.haskell.org/debian buster main' > /etc/apt/sources.list.d/ghc.list && \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA3CBA3FFE22B574 && \ apt-get update RUN apt-get install -y --no-install-recommends \ zlib1g-dev libtinfo-dev libsqlite3-dev g++ netbase xz-utils make locales wget RUN apt-get install -y --no-install-recommends \ ghc-8.4.4 ghc-8.6.5 ghc-8.8.3 ghc-8.10.1 cabal-install-3.2 ENV PATH /opt/texlive/bin/x86_64-linux:/root/.cabal/bin:/root/.local/bin:/opt/cabal/3.2/bin:/opt/ghc/8.10.1/bin:$PATH:/opt/ghc/8.8.3/bin:/opt/ghc/8.6.5/bin:/opt/ghc/8.4.4/bin ENV PATH /root/.cabal/bin:/root/.local/bin:/opt/cabal/3.2/bin:/opt/ghc/8.10.1/bin:$PATH:/opt/ghc/8.8.3/bin:/opt/ghc/8.6.5/bin:/opt/ghc/8.4.4/bin RUN ghc --version && ghci --version RUN echo "Europe/Prague" > /etc/timezone && \ unlink /etc/localtime && \ Loading @@ -27,31 +29,37 @@ ENV LANG en_US.UTF-8 # New TeX Live COPY texlive.profile /root/texlive.profile RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \ RUN cd /root && \ wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \ tar xaf install-tl-unx.tar.gz && \ cd install-tl-* && \ ./install-tl --profile=/root/texlive.profile && \ ls /usr/local/bin ./install-tl --profile=/root/texlive.profile RUN ls /opt/texlive/bin/x86_64-linux ENV PATH /opt/texlive/bin/x86_64-linux:$PATH ENV MANPATH /opt/texlive/texmf-dist/doc/man:$MANPATH ENV INFOPATH /opt/texlive/texmf-dist/doc/info:$INFOPATH RUN pdflatex --version && lualatex --version && context --version && latexmk --version # install dependencies for Haskell study materials RUN cabal v1-update && cabal v1-install pandoc-2.10 QuickCheck HUnit data-default-class RUN for GHC in ghc-8.4.4 ghc-8.6.5 ghc-8.8.3 ghc-8.10.1; do cabal v1-install --with-ghc $GHC HUnit QuickCheck; done RUN apt-get update && \ apt-get install -y --no-install-recommends make rubber \ hlint zip swi-prolog graphviz inkscape \ dot2tex python3-pkg-resources python3-yaml python3-pip pandoc-citeproc \ apt-get install -y --no-install-recommends \ fonts-lmodern make rubber pandoc-citeproc \ hlint zip swi-prolog graphviz inkscape dot2tex \ python3-pkg-resources python3-yaml python3-pip python3-setuptools \ python3-pygments rsync ssh ca-certificates \ libicu-dev context texlive-font-utils \ python3-hypothesis python3-pytest flake8 mypy python3-mypy-extensions \ libpoppler-glib-dev RUN pip3 install flake8 pylint pycodestyle mypy mypy-extensions pytest hypothesis RUN pytest --version && mypy --version && flake8 --version # for the sake of minted and other stupid programs that expect python to exist # needed on bullseye and newer # RUN ln -s /usr/bin/python3 /usr/bin/python RUN ls -l /usr/bin/python # # make ConTeXt work # RUN fmtutil -sys --all CMD ["bash"] Loading
Dockerfile +21 −13 Original line number Diff line number Diff line Loading @@ -4,15 +4,17 @@ FROM debian:buster ENV LANG C.UTF-8 ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && \ apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git apt-utils apt-get install -y --no-install-recommends \ gnupg ca-certificates dirmngr curl git apt-utils \ zlib1g-dev libtinfo-dev libsqlite3-dev g++ netbase xz-utils make locales wget RUN echo 'deb http://downloads.haskell.org/debian buster main' > /etc/apt/sources.list.d/ghc.list && \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA3CBA3FFE22B574 && \ apt-get update RUN apt-get install -y --no-install-recommends \ zlib1g-dev libtinfo-dev libsqlite3-dev g++ netbase xz-utils make locales wget RUN apt-get install -y --no-install-recommends \ ghc-8.4.4 ghc-8.6.5 ghc-8.8.3 ghc-8.10.1 cabal-install-3.2 ENV PATH /opt/texlive/bin/x86_64-linux:/root/.cabal/bin:/root/.local/bin:/opt/cabal/3.2/bin:/opt/ghc/8.10.1/bin:$PATH:/opt/ghc/8.8.3/bin:/opt/ghc/8.6.5/bin:/opt/ghc/8.4.4/bin ENV PATH /root/.cabal/bin:/root/.local/bin:/opt/cabal/3.2/bin:/opt/ghc/8.10.1/bin:$PATH:/opt/ghc/8.8.3/bin:/opt/ghc/8.6.5/bin:/opt/ghc/8.4.4/bin RUN ghc --version && ghci --version RUN echo "Europe/Prague" > /etc/timezone && \ unlink /etc/localtime && \ Loading @@ -27,31 +29,37 @@ ENV LANG en_US.UTF-8 # New TeX Live COPY texlive.profile /root/texlive.profile RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \ RUN cd /root && \ wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \ tar xaf install-tl-unx.tar.gz && \ cd install-tl-* && \ ./install-tl --profile=/root/texlive.profile && \ ls /usr/local/bin ./install-tl --profile=/root/texlive.profile RUN ls /opt/texlive/bin/x86_64-linux ENV PATH /opt/texlive/bin/x86_64-linux:$PATH ENV MANPATH /opt/texlive/texmf-dist/doc/man:$MANPATH ENV INFOPATH /opt/texlive/texmf-dist/doc/info:$INFOPATH RUN pdflatex --version && lualatex --version && context --version && latexmk --version # install dependencies for Haskell study materials RUN cabal v1-update && cabal v1-install pandoc-2.10 QuickCheck HUnit data-default-class RUN for GHC in ghc-8.4.4 ghc-8.6.5 ghc-8.8.3 ghc-8.10.1; do cabal v1-install --with-ghc $GHC HUnit QuickCheck; done RUN apt-get update && \ apt-get install -y --no-install-recommends make rubber \ hlint zip swi-prolog graphviz inkscape \ dot2tex python3-pkg-resources python3-yaml python3-pip pandoc-citeproc \ apt-get install -y --no-install-recommends \ fonts-lmodern make rubber pandoc-citeproc \ hlint zip swi-prolog graphviz inkscape dot2tex \ python3-pkg-resources python3-yaml python3-pip python3-setuptools \ python3-pygments rsync ssh ca-certificates \ libicu-dev context texlive-font-utils \ python3-hypothesis python3-pytest flake8 mypy python3-mypy-extensions \ libpoppler-glib-dev RUN pip3 install flake8 pylint pycodestyle mypy mypy-extensions pytest hypothesis RUN pytest --version && mypy --version && flake8 --version # for the sake of minted and other stupid programs that expect python to exist # needed on bullseye and newer # RUN ln -s /usr/bin/python3 /usr/bin/python RUN ls -l /usr/bin/python # # make ConTeXt work # RUN fmtutil -sys --all CMD ["bash"]