From c06dd12162e81e81e29accb339ab7e5020f935f9 Mon Sep 17 00:00:00 2001 From: Lee *!* Clagett Date: Fri, 17 Oct 2025 14:52:20 -0400 Subject: [PATCH] Update README and set Dockerfile to perform Release builds --- Dockerfile | 6 +++--- README.md | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 109ad98..2f5e3c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -98,8 +98,8 @@ RUN git clone --recursive \ && mkdir -p build/release && cd build/release \ # Create make build files manually for release-static-linux-${TARGETARCH} && case ${TARGETARCH:-amd64} in \ - "arm64") cmake -D STATIC=ON -D ARCH="armv8-a" -D BUILD_64=ON -D CMAKE_BUILD_TYPE=release -D BUILD_TAG="linux-armv8" ../.. ;; \ - "amd64") cmake -D STATIC=ON -D ARCH="x86-64" -D BUILD_64=ON -D CMAKE_BUILD_TYPE=release -D BUILD_TAG="linux-x64" ../.. ;; \ + "arm64") cmake -D STATIC=ON -D ARCH="armv8-a" -D BUILD_64=ON -D CMAKE_BUILD_TYPE=Release -D BUILD_TAG="linux-armv8" ../.. ;; \ + "amd64") cmake -D STATIC=ON -D ARCH="x86-64" -D BUILD_64=ON -D CMAKE_BUILD_TYPE=Release -D BUILD_TAG="linux-x64" ../.. ;; \ *) echo "Dockerfile does not support this platform"; exit 1 ;; \ esac \ # Build only monerod binary using number of available threads @@ -114,7 +114,7 @@ ARG NPROC RUN set -ex \ && git submodule init && git submodule update \ && rm -rf build && mkdir build && cd build \ - && cmake -D STATIC=ON -D BUILD_TESTS=ON -D MONERO_SOURCE_DIR=/monero -D MONERO_BUILD_DIR=/monero/build/release .. \ + && cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D BUILD_TESTS=ON -D MONERO_SOURCE_DIR=/monero -D MONERO_BUILD_DIR=/monero/build/release .. \ && make -j${NPROC:-$(nproc)} \ && ./tests/unit/monero-lws-unit diff --git a/README.md b/README.md index 9e2d053..3b54bd2 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ - [Introduction](#introduction) - [About this project](#about-this-project) - [License](#license) + - [Docker](#docker) - [Compiling Monero-lws from source](#compiling-monero-lws-from-source) @@ -46,10 +47,34 @@ See [LICENSE](LICENSE). ## Docker +Data is stored at `/home/monero-lws/.bitmonero/light_wallet_server` by default, +and be modified by `--db-path` at runtime. + +### Latest Stable Release +Docker image for latest stable release can be fetched via: + + * `docker pull ghcr.io/vtnerd/monero-lws` + * `docker pull vtnerd/monero-lws` + +Users of this tag should never expect a DB migration issue, provided they never +"downgrade" to a prior major version. + +### Supported Releases +Docker images for `0` and `0.3` are provided. The major number refers to +backwards incompatible DB changes, and the minor revision refers to new features +that could cause instability. Stability minded users can use these tags while +they are still listed as officially supported here in the README or on the +Docker overview page. + + * `docker pull ghcr.io/vtnerd/monero-lws:0` + * `docker pull vtnerd/monero-lws:0` + * `docker pull ghcr.io/vtnerd/monero-lws:0.3` + * `docker pull vtnerd/monero-lws:0.3` ### Alpha Release Docker image for the `master` (alpha) branch can be fetched via: + * `docker pull ghcr.io/vtnerd/monero-lws:master` * `docker pull vtnerd/monero-lws:master`