mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
Fix and update Docker image
This commit is contained in:
parent
93a4653e36
commit
798565d02e
3 changed files with 12 additions and 12 deletions
|
@ -94,13 +94,13 @@ grin client help
|
||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker build -t grin .
|
docker build -t grin -f etc/Dockerfile .
|
||||||
```
|
```
|
||||||
|
|
||||||
You can bind-mount your grin cache to run inside the container.
|
You can bind-mount your grin cache to run inside the container.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run -it -d -v $HOME/.grin:/root/.grin grin
|
docker run -it -d -v $HOME/.grin:/root/.grin -f etc/Dockerfile grin
|
||||||
```
|
```
|
||||||
|
|
||||||
## Cross-platform builds
|
## Cross-platform builds
|
||||||
|
|
|
@ -85,13 +85,13 @@ grin client help
|
||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker build -t grin .
|
docker build -t grin -f etc/Dockerfile .
|
||||||
```
|
```
|
||||||
|
|
||||||
Puede ubicar la caché de Grin para que se ejecute dentro del contenedor
|
Puede ubicar la caché de Grin para que se ejecute dentro del contenedor
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run -it -d -v $HOME/.grin:/root/.grin grin
|
docker run -it -d -v $HOME/.grin:/root/.grin -f etc/Dockerfile grin
|
||||||
```
|
```
|
||||||
|
|
||||||
## Compilación multiplataforma
|
## Compilación multiplataforma
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Multistage docker build, requires docker 17.05
|
# Multistage docker build, requires docker 17.05
|
||||||
|
|
||||||
# builder stage
|
# builder stage
|
||||||
FROM rust:1.29.0 as builder
|
FROM rust:1.30.1 as builder
|
||||||
|
|
||||||
RUN set -ex && \
|
RUN set -ex && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
|
|
Loading…
Reference in a new issue