build(docker/backend): use BaseImage; add dependencies
This commit is contained in:
parent
b068e46480
commit
376c88e724
@ -1,20 +1,18 @@
|
|||||||
FROM docker.io/fpco/stack-build:lts-18.0
|
FROM devfra.azurecr.io/de.fraport.build/haskell:8.10.4
|
||||||
|
|
||||||
# add public key for nvidia cuda repositories
|
ENV LANG=de_DE.UTF-8
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A4B469963BF863CC
|
|
||||||
|
|
||||||
ENV LANG=en_US.UTF-8
|
|
||||||
|
|
||||||
# compile-time dependencies
|
# compile-time dependencies
|
||||||
|
RUN apt-get -y update && apt-get install -y libpq-dev libsodium-dev
|
||||||
# RUN apt-get -y update && apt-get -y install llvm
|
# RUN apt-get -y update && apt-get -y install llvm
|
||||||
# RUN apt-get -y update && apt-get -y install g++ libghc-zlib-dev libpq-dev libsodium-dev pkg-config
|
# RUN apt-get -y update && apt-get -y install g++ libghc-zlib-dev libpq-dev libsodium-dev pkg-config
|
||||||
# RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
|
# RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
|
||||||
# RUN apt-get -y update && apt-get -y install locales locales-all
|
RUN apt-get -y update && apt-get install -y --no-install-recommends locales locales-all
|
||||||
|
|
||||||
# run-time dependencies for uniworx binary
|
# run-time dependencies for uniworx binary
|
||||||
# RUN apt-get -y update && apt-get -y install fonts-roboto
|
RUN apt-get -y update && apt-get -y install fonts-roboto
|
||||||
# RUN apt-get -y update && apt-get -y install pdftk
|
# RUN apt-get -y update && apt-get -y install pdftk
|
||||||
# RUN apt-get -y update && apt-get -y install texlive-base luatex
|
RUN apt-get -y update && apt-get -y install texlive-latex-recommended texlive-luatex texlive-plain-generic texlive-lang-german texlive-lang-english
|
||||||
|
|
||||||
# locally these two should be identical, so that compilation results are written out into the file dir.
|
# locally these two should be identical, so that compilation results are written out into the file dir.
|
||||||
# in CI-pipelines these two should be different, so that the container caches the compilation results.
|
# in CI-pipelines these two should be different, so that the container caches the compilation results.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user