Skip to content

Commit

Permalink
Fix RocksDB compilation on OTP25
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro M. Ramallo <[email protected]>
  • Loading branch information
aramallo committed Aug 22, 2024
1 parent dcfcecd commit 828c295
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions deployment/otp25/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@
FROM erlang:25.3.2.12 AS builder

# Install build dependencies
RUN apt-get update \
&& apt-get -y install \
sudo bash procps iproute2 net-tools dnsutils curl jq nano \
openssl libsodium-dev libsnappy-dev\
&& rm -rf /var/lib/apt/lists/* \
&& groupadd -g 1000 -r bondy \
&& useradd -u 1000 -r -g bondy -d /bondy -s /bin/bash -c "bondy" bondy \
&& mkdir -p /bondy/etc \
&& chown bondy:bondy /bondy/etc
RUN --mount=type=cache,id=apt,sharing=locked,target=/var/cache/apt apt-get update && \
apt-get -y install --no-install-recommends \
build-essential \
cmake \
git \
libssl-dev \
libsodium-dev \
libsnappy-dev \
curl && \
rm -rf /var/lib/apt/lists/*

WORKDIR /bondy/src

Expand Down

0 comments on commit 828c295

Please sign in to comment.