vcashorg / vcash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker build error

EthanHee opened this issue · comments

Steps to reproduce the behavior:

  1. git clone git@github.com:vcashorg/vcash.git
  2. cd vcash
  3. docker build -t vcash -f etc/Dockerfile .
  4. See error:
Sending build context to Docker daemon  16.47MB
Step 1/16 : FROM rust:1.35 as builder
 ---> cc8fdbea4a2a
Step 2/16 : RUN set -ex &&     apt-get update &&     apt-get --no-install-recommends --yes install     clang     libclang-dev     llvm-dev     libncurses5     libncursesw5     cmake     git
 ---> Using cache
 ---> 918388f666c2
Step 3/16 : WORKDIR /usr/src/grin
 ---> Using cache
 ---> aa321fe56ef5
Step 4/16 : COPY . .
 ---> Using cache
 ---> 626a222cd1fa
Step 5/16 : RUN cargo build --release
 ---> Running in 48fbcf2ee08f
error: failed to parse lock file at: /usr/src/grin/Cargo.lock

Caused by:
  invalid serialized PackageId for key `package.dependencies`
The command '/bin/sh -c cargo build --release' returned a non-zero code: 101

直接使用release的二进制包制作docker image. grin的Dockerfile没有维护了。

@zhoujia6139 OK, thanks for your response.

vcash/main/wallet_data/wallet.seed