mirror of https://github.com/oxen-io/oxen-core.git
Add script for collecting output from docker build (#678)
This commit is contained in:
parent
2c07c92440
commit
84a461710b
|
@ -515,7 +515,7 @@ Packages are available for
|
|||
|
||||
```bash
|
||||
# Build using all available cores
|
||||
docker build -t loki .
|
||||
docker build -t loki-daemon-image .
|
||||
|
||||
# or build using a specific number of cores (reduce RAM requirement)
|
||||
docker build --build-arg NPROC=1 -t loki .
|
||||
|
@ -528,7 +528,7 @@ Packages are available for
|
|||
```
|
||||
|
||||
* The build needs 3 GB space.
|
||||
* Wait one hour or more
|
||||
* Wait one hour or more. For docker, the collect_from_docker_container.sh script will automate downloading the binaries from the docker container.
|
||||
|
||||
## Running lokid
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
set -ex && mkdir -p ../../build/release/bin
|
||||
set -ex && docker create --name loki-daemon-container loki-daemon-image
|
||||
set -ex && docker cp loki-daemon-container:/usr/local/bin/ ../../build/
|
||||
set -ex && docker rm loki-daemon-container
|
Loading…
Reference in New Issue