@@ -2,7 +2,7 @@ FROM debian:bookworm-slim as builder
2
2
3
3
# Postgres-websockets repo metadata
4
4
ARG GIT_REPO=https://github.com/diogob/postgres-websockets.git
5
- ARG GIT_TAG=multiple-docker-architectures
5
+ ARG GIT_TAG=master
6
6
7
7
# Install System Dependencies
8
8
RUN apt-get update \
@@ -37,17 +37,17 @@ RUN \
37
37
38
38
# install ghcup
39
39
RUN \
40
- BOOTSTRAP_HASKELL_MINIMAL=1 BOOTSTRAP_HASKELL_NONINTERACTIVE=1. /download-ghcup.sh \
41
- && chmod +x/usr /bin/ghcup \
42
- && ghcup config set gpg-setting GPGStrict
40
+ BOOTSTRAP_HASKELL_MINIMAL=1 BOOTSTRAP_HASKELL_NONINTERACTIVE=1/app/postgres-websockets /download-ghcup.sh \
41
+ && chmod +x~/.ghcup /bin/ghcup \
42
+ &&~/.ghcup/bin/ ghcup config set gpg-setting GPGStrict
43
43
44
44
ARG GHC=9.6.3
45
45
ARG CABAL=latest
46
46
47
47
# install GHC and cabal
48
48
RUN \
49
- ghcup -v install ghc --isolate /usr/local --force ${GHC} && \
50
- ghcup -v install cabal --isolate /usr/local/bin --force ${CABAL}
49
+ ~/.ghcup/bin/ ghcup -v install ghc --isolate /usr/local --force ${GHC} && \
50
+ ~/.ghcup/bin/ ghcup -v install cabal --isolate /usr/local/bin --force ${CABAL}
51
51
52
52
RUN cabal update
53
53
RUN cabal build