build(docker/backend): apt-get update right before each install

This commit is contained in:
Sarah Vaupel 2024-09-05 12:23:32 +02:00
parent c10715fdfc
commit b0fe5c5b47

View File

@ -1,11 +1,8 @@
# TODO: switch to uniworx registry debian image
FROM debian:12.5
FROM registry.uniworx.de/uniworx/containers/debian:12.5
RUN apt-get -y update
RUN apt-get -y install haskell-stack git
RUN apt-get -y install alex g++ happy libghc-zlib-dev libpq-dev libsodium-dev locales locales-all pkg-config
RUN apt-get -y install llvm
RUN apt-get -y update && apt-get -y install haskell-stack git
RUN apt-get -y update && apt-get -y install alex g++ happy libghc-zlib-dev libpq-dev libsodium-dev locales locales-all pkg-config
RUN apt-get -y update && apt-get -y install llvm
ENV LANG=en_US.UTF-8