mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2025-03-14 09:45:42 +00:00
docker: enable sqlcipher (#1390)
This commit is contained in:
parent
b8298aa458
commit
b5652bce81
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue