Skip to content

docker build error #12

@EthanHee

Description

@EthanHee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions