Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/bondy-io/bondy into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
aramallo committed Aug 22, 2024
2 parents 6744dcb + 828c295 commit 7c4fa2f
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 7c4fa2f

Please sign in to comment.