Skip to content

Commit

Permalink
fix/dependencies_sqlcipher add runtime deps too
Browse files Browse the repository at this point in the history
  • Loading branch information
spital committed Nov 9, 2023
1 parent f3e4a0a commit e2fa975
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions contrib/docker/Dockerfile.almalinux
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ RUN cp $(find . -maxdepth 1 -type f -executable) /opt/darkfi/compiled-bins
# 3. stage
FROM ${OS_VER}

RUN microdnf -y install openssl lato-fonts alsa-lib\
&& microdnf clean all \
RUN microdnf -y install openssl lato-fonts alsa-lib epel-release \
&& microdnf install -y sqlcipher && microdnf clean all \
&& rm -rf /var/cache/dnf

WORKDIR /opt/darkfi
Expand Down
4 changes: 3 additions & 1 deletion contrib/docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ RUN cp $(find . -maxdepth 1 -type f -executable) /opt/darkfi/compiled-bins
# 3. stage
FROM alpine:${ALPINE_VER}

RUN apk add --no-cache openssl ttf-opensans libgcc alsa-lib sqlite-libs
RUN apk add --no-cache openssl ttf-opensans libgcc alsa-lib sqlite-libs libstdc++

RUN apk add --no-cache sqlcipher-libs --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/

WORKDIR /opt/darkfi

Expand Down
2 changes: 1 addition & 1 deletion contrib/docker/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RUN cp $(find . -maxdepth 1 -type f -executable) /opt/darkfi/compiled-bins
FROM debian:${OS_VER}

RUN apt-get -y update && apt-get install -y openssl fonts-lato libout123-0 libmpg123-0 libasound2 libsqlite3-0 \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
sqlcipher && apt-get clean && rm -rf /var/lib/apt/lists/*

WORKDIR /opt/darkfi

Expand Down
2 changes: 1 addition & 1 deletion contrib/docker/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ RUN cp $(find . -maxdepth 1 -type f -executable) /opt/darkfi/compiled-bins
# 3. stage
FROM ${OS_VER}

RUN dnf -y install openssl lato-fonts alsa-lib \
RUN dnf -y install openssl lato-fonts alsa-lib sqlcipher \
&& dnf clean all \
&& rm -rf /var/cache/dnf

Expand Down
2 changes: 1 addition & 1 deletion contrib/docker/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ RUN cp $(find . -maxdepth 1 -type f -executable) /opt/darkfi/compiled-bins
FROM ubuntu:${OS_VER}

RUN apt-get -y update && apt-get install -y openssl fonts-lato libout123-0 libmpg123-0 libasound2 libsqlite3-0 \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
sqlcipher && apt-get clean && rm -rf /var/lib/apt/lists/*

WORKDIR /opt/darkfi

Expand Down

0 comments on commit e2fa975

Please sign in to comment.