This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
fradrive-old/docker/Dockerfile

43 lines
923 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
run apt-get -y install locales
run sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen
env LANG en_US.UTF-8
env LANGUAGE en_US:en
env LC_ALL en_US.UTF-8
run apt-get -y install llvm