Skip to content

Commit 193f24a

Browse files
docker: Install missing lowdown and libsodium dependencies
1 parent 2ee3f45 commit 193f24a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ RUN dpkg --add-architecture ${target_arch_dpkg}
103103
# Install architecture-independent libraries
104104
RUN apt-get update && \
105105
apt-get install -qq -y --no-install-recommends \
106-
python3-dev
106+
python3-dev \
107+
lowdown
107108

108109
# Install target-arch libraries
109110
RUN apt-get install -qq -y --no-install-recommends \
@@ -113,6 +114,7 @@ RUN apt-get install -qq -y --no-install-recommends \
113114
zlib1g-dev:${target_arch_dpkg} \
114115
libsqlite3-dev:${target_arch_dpkg} \
115116
libpq-dev:${target_arch_dpkg} \
117+
libsodium-dev:${target_arch_dpkg} \
116118
crossbuild-essential-${target_arch_dpkg}
117119

118120
ARG AR=${target_arch}-ar
@@ -142,6 +144,8 @@ RUN ./install-uv.sh -q
142144
RUN ./install-rust.sh -y -q --profile minimal --component rustfmt --target ${target_arch_rust}
143145

144146
ENV PATH="/root/.cargo/bin:/root/.local/bin:${PATH}"
147+
ENV PKG_CONFIG_PATH=/usr/lib/${target_arch}/pkgconfig
148+
ENV PKG_CONFIG_LIBDIR=/usr/lib/${target_arch}/pkgconfig
145149

146150
WORKDIR /opt/lightningd
147151

@@ -165,7 +169,8 @@ RUN apt-get update && \
165169
socat \
166170
jq \
167171
libpq5 \
168-
libsqlite3-0 && \
172+
libsqlite3-0 \
173+
libsodium23 && \
169174
apt-get clean && \
170175
rm -rf /var/lib/apt/lists/*
171176

0 commit comments

Comments
 (0)