34 lines
725 B
Docker
34 lines
725 B
Docker
from registry.uniworx.de/uniworx/containers/debian:12.5
|
|
|
|
run apt-get -y update
|
|
|
|
# Required packages
|
|
run apt-get -y install git git-restore-mtime exiftool g++ npm libsodium-dev haskell-stack zsh wget curl
|
|
|
|
# packages that we might require (copied from uni2work)
|
|
# TODO: review
|
|
run apt-get -y install --no-install-recommends locales-all ca-certificates
|
|
|
|
# frontend
|
|
run npm install -g n
|
|
run n 14.19.1
|
|
|
|
# backend
|
|
run stack install happy
|
|
|
|
# run git restore-mtime
|
|
# frontend-test
|
|
run apt-get -y install chromium
|
|
|
|
# frontend-test
|
|
env CHROME_BIN=chromium
|
|
|
|
# backend-dependencies
|
|
run apt-get -y install libghc-zlib-dev
|
|
|
|
# backend-dependencies
|
|
run apt-get -y install libpq-dev
|
|
|
|
# backend-dependencies
|
|
run apt-get -y install pkg-config
|