docker build error
EthanHee opened this issue · comments
EthanHee commented
Steps to reproduce the behavior:
- git clone git@github.com:vcashorg/vcash.git
- cd vcash
- docker build -t vcash -f etc/Dockerfile .
- 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
zhoujia6139 commented
直接使用release的二进制包制作docker image. grin的Dockerfile没有维护了。
EthanHee commented
@zhoujia6139 OK, thanks for your response.
Suratsika commented
vcash/main/wallet_data/wallet.seed