I have cloned the project, it's working my old machine and also my team mates and tried to build it:
docker-compose build
but it throw build error for these libraries
Errors were encountered while processing:
ghc
libghc-hsopenssl-dev
libghc-network-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: Service 'web' failed to build : The command '/bin/sh -c apt-get install -y libgnutls28-dev libghc-hsopenssl-dev libghc-hsopenssl-dev' returned a non-zero code: 100
I am wondering where maybe the error? is it with macOS updates? or libraries compatibility or the new m1 architecture?
I tried:
docker-compose build --no-cache
and adding -f in command in Dockerfile
apt-get install -y libgnutls28-dev libghc-hsopenssl-dev libghc-hsopenssl-dev -f