build image too

This commit is contained in:
Michael Legleux
2026-02-10 21:14:41 -08:00
parent aab3305abe
commit 6153e2fa11
5 changed files with 100 additions and 25 deletions

24
pkgs/docker/Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
FROM ubuntu:jammy
COPY rippled_*_amd64.deb /tmp/
RUN apt-get update && \
apt-get install -y --no-install-recommends /tmp/rippled_*_amd64.deb && \
rm -f /tmp/*.deb && \
rm -rf /var/lib/apt/lists/*
RUN <<EOF
useradd \
--system \
--no-create-home \
--shell /usr/sbin/nologin \
rippled
chown -R \
rippled:rippled \
/var/lib/rippled \
/var/log/rippled \
/opt/ripple
EOF
EXPOSE 51235 6006
USER rippled
ENTRYPOINT ["/opt/ripple/bin/rippled"]