mirror of
https://codeberg.org/wownero/wownero-lws
synced 2026-01-09 15:15:15 -08:00
Update README and set Dockerfile to perform Release builds
This commit is contained in:
@@ -98,8 +98,8 @@ RUN git clone --recursive \
|
|||||||
&& mkdir -p build/release && cd build/release \
|
&& mkdir -p build/release && cd build/release \
|
||||||
# Create make build files manually for release-static-linux-${TARGETARCH}
|
# Create make build files manually for release-static-linux-${TARGETARCH}
|
||||||
&& case ${TARGETARCH:-amd64} in \
|
&& 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" ../.. ;; \
|
"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" ../.. ;; \
|
"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 ;; \
|
*) echo "Dockerfile does not support this platform"; exit 1 ;; \
|
||||||
esac \
|
esac \
|
||||||
# Build only monerod binary using number of available threads
|
# Build only monerod binary using number of available threads
|
||||||
@@ -114,7 +114,7 @@ ARG NPROC
|
|||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& git submodule init && git submodule update \
|
&& git submodule init && git submodule update \
|
||||||
&& rm -rf build && mkdir build && cd build \
|
&& 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)} \
|
&& make -j${NPROC:-$(nproc)} \
|
||||||
&& ./tests/unit/monero-lws-unit
|
&& ./tests/unit/monero-lws-unit
|
||||||
|
|
||||||
|
|||||||
25
README.md
25
README.md
@@ -10,6 +10,7 @@
|
|||||||
- [Introduction](#introduction)
|
- [Introduction](#introduction)
|
||||||
- [About this project](#about-this-project)
|
- [About this project](#about-this-project)
|
||||||
- [License](#license)
|
- [License](#license)
|
||||||
|
- [Docker](#docker)
|
||||||
- [Compiling Monero-lws from source](#compiling-monero-lws-from-source)
|
- [Compiling Monero-lws from source](#compiling-monero-lws-from-source)
|
||||||
|
|
||||||
|
|
||||||
@@ -46,10 +47,34 @@ See [LICENSE](LICENSE).
|
|||||||
|
|
||||||
|
|
||||||
## Docker
|
## 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
|
### Alpha Release
|
||||||
|
|
||||||
Docker image for the `master` (alpha) branch can be fetched via:
|
Docker image for the `master` (alpha) branch can be fetched via:
|
||||||
|
|
||||||
* `docker pull ghcr.io/vtnerd/monero-lws:master`
|
* `docker pull ghcr.io/vtnerd/monero-lws:master`
|
||||||
* `docker pull vtnerd/monero-lws:master`
|
* `docker pull vtnerd/monero-lws:master`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user