diff --git a/Dockerfile b/Dockerfile index b9f00ba1b1..b78e2f2448 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:focal AS build # Install curl and simplex-chat-related dependencies -RUN apt-get update && apt-get install -y curl git build-essential libgmp3-dev zlib1g-dev +RUN apt-get update && apt-get install -y curl git build-essential libgmp3-dev zlib1g-dev libssl-dev # Install ghcup RUN a=$(arch); curl https://downloads.haskell.org/~ghcup/$a-linux-ghcup -o /usr/bin/ghcup && \ @@ -21,6 +21,9 @@ WORKDIR /project # Adjust PATH ENV PATH="/root/.cabal/bin:/root/.ghcup/bin:$PATH" +# Adjust build +RUN cp ./scripts/cabal.project.local.linux ./cabal.project.local + # Compile simplex-chat RUN cabal update RUN cabal install diff --git a/scripts/cabal.project.local.linux b/scripts/cabal.project.local.linux index d5a06b7d81..267e54edf6 100644 --- a/scripts/cabal.project.local.linux +++ b/scripts/cabal.project.local.linux @@ -1,9 +1,6 @@ ignore-project: False -# amend to point to the actual openssl location package direct-sqlcipher - extra-include-dirs: /usr/local/opt/openssl@1.1/include - extra-lib-dirs: /usr/local/opt/openssl@1.1/lib flags: +openssl test-show-details: direct