Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when run build-iso.sh. error: failed to open: /home/rust/src/target/release/.cargo-lock #17

Open
sduerpang opened this issue Mar 17, 2020 · 0 comments

Comments

@sduerpang
Copy link

I'm using centos 7.7
here is my system info :

Linux izj6c0hm1pb36m6j7ikro0z 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

[root@izj6c0hm1pb36m6j7ikro0z mpc]# ./build-iso.sh
Sending build context to Docker daemon 4.833 MB
Step 1/13 : FROM ubuntu:16.04
---> 77be327e4b63
Step 2/13 : RUN apt-get update && apt-get install -y build-essential cmake curl file git sudo xutils-dev && apt-get clean && rm -rf /var/lib/apt/lists/* && useradd rust --user-group --create-home --shell /bin/bash --groups sudo
---> Using cache
---> 02828d7d6d7e
Step 3/13 : ADD sudoers /etc/sudoers.d/nopasswd
---> Using cache
---> c619b0d3cd61
Step 4/13 : USER rust
---> Using cache
---> 56be85d8656e
Step 5/13 : RUN mkdir -p /home/rust/libs /home/rust/src
---> Using cache
---> 7d3edba069f2
Step 6/13 : RUN sudo chmod 777 /home/rust/*
---> Using cache
---> a4e4f917a3e6
Step 7/13 : ENV PATH /home/rust/.cargo/bin:/usr/local/musl/bin:/usr/local/bin:/usr/bin:/bin
---> Using cache
---> 059358b8d209
Step 8/13 : RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && rustup default 1.12.1 && rustup target add x86_64-unknown-linux-musl
---> Using cache
---> 0dbf2c9df03d
Step 9/13 : ADD cargo-config.toml /home/rust/.cargo/config
---> Using cache
---> d8f78af7ff9b
Step 10/13 : WORKDIR /home/rust/libs
---> Using cache
---> 2fb21bfde489
Step 11/13 : ADD musl /home/rust/libs/musl
---> Using cache
---> 2390ac2e9730
Step 12/13 : RUN sudo chown -R rust:rust /home/rust/libs && cd musl && ./configure && make && sudo make install && cd .. && rm -rf musl
---> Using cache
---> d41e8d085464
Step 13/13 : WORKDIR /home/rust/src
---> Using cache
---> aaf83aef344a
Successfully built aaf83aef344a
Updating registry https://github.com/rust-lang/crates.io-index
error: failed to open: /home/rust/src/target/release/.cargo-lock

To learn more, run the command again with --verbose.

how can i fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant