Update README and set Dockerfile to perform Release builds

This commit is contained in:
Lee *!* Clagett
2025-10-17 14:52:20 -04:00
parent 3d12cc1c06
commit c06dd12162
2 changed files with 28 additions and 3 deletions

View File

@@ -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

View File

@@ -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`