Skip to content

Commit e99288c

Browse files
docker: Install missing lowdown and libsodium dependencies
1 parent 4aca328 commit e99288c

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
@@ -122,7 +122,8 @@ RUN dpkg --add-architecture ${target_arch_dpkg}
122122
# Install architecture-independent libraries
123123
RUN apt-get update && \
124124
apt-get install -qq -y --no-install-recommends \
125-
python3-dev
125+
python3-dev \
126+
lowdown
126127

127128
# Install target-arch libraries
128129
RUN apt-get install -qq -y --no-install-recommends \
@@ -132,6 +133,7 @@ RUN apt-get install -qq -y --no-install-recommends \
132133
zlib1g-dev:${target_arch_dpkg} \
133134
libsqlite3-dev:${target_arch_dpkg} \
134135
libpq-dev:${target_arch_dpkg} \
136+
libsodium-dev:${target_arch_dpkg} \
135137
crossbuild-essential-${target_arch_dpkg}
136138

137139
ARG AR=${target_arch}-ar
@@ -161,6 +163,8 @@ RUN ./install-uv.sh -q
161163
RUN ./install-rust.sh -y -q --profile minimal --component rustfmt --target ${target_arch_rust}
162164

163165
ENV PATH="/root/.cargo/bin:/root/.local/bin:${PATH}"
166+
ENV PKG_CONFIG_PATH=/usr/lib/${target_arch}/pkgconfig
167+
ENV PKG_CONFIG_LIBDIR=/usr/lib/${target_arch}/pkgconfig
164168

165169
WORKDIR /opt/lightningd
166170

@@ -184,7 +188,8 @@ RUN apt-get update && \
184188
socat \
185189
jq \
186190
libpq5 \
187-
libsqlite3-0 && \
191+
libsqlite3-0 \
192+
libsodium23 && \
188193
apt-get clean && \
189194
rm -rf /var/lib/apt/lists/*
190195

0 commit comments

Comments
 (0)