-
Notifications
You must be signed in to change notification settings - Fork 15
Can't build the docker image #21
Comments
same here, this PR fixes the version to rust 1.9 that is the last version that build in the container: My Docker-Version is: |
Hi, sorry for my late response. I have been on vacation and had more or less disconnected myself from most things. There has recently been a bunch of problem with the approach in this guide, and some of them has known solutions and some don't, so everything has to be taken with a grain of salt, at the moment. I have been meaning to rewrite parts of it to simplify the process and completely avoid the compilation step, but I haven't gotten around to do it for various reasons. I suppose that this will be possible to transfer to the docker image, as well, but my docker knowledge is still very limited. What I'm trying to say is that this guide is currently in a semi-incorrect state and that it is known. I did, however, not know that it broke in this way, as well, so thanks for letting me know. 👍 I would appreciate it if you could test the workaround from @Ragnaroek, and see if it works for you. I'll also comment on the PR, and I should probably write a notice in the repo description to let people know that this guide is a bit outdated. |
I run into the exact same error message while building the 1.10 version. I did not find a more detailed exception message to see what exactly went wrong. I don't think the guide itself is outdated (it worked perfectly for me until the 1.10 version was released and I had to rebuild my docker images). Building the image takes a long time. What do you think about publishing the build image to a public docker index/repository, so that everyone just can pull it? |
I'm just being thorough. 😄
It is already officially built and distributed by the Rust team and that's why this guide is outdated. The setup procedure can be cut down to seconds, using rustup. I have already tested it (here, for example) and it has been quite successful. I just need to write the prose. Edit: Oh, and the dependency trick with .deb files seems to have stopped working. It looks like their file structure has changed. |
Well I did not know about rustup! I guess this project is then obsolete. A hint to rustup |
It's not completely obsolete. Rust is just half of the problem, and there's On Thu, Aug 4, 2016, 08:48 Michael Bohn [email protected] wrote:
|
see PR #23 |
I guess we can close this issue now? |
Yeah, it's not really relevant anymore. |
I tried$HOME/rust; DEFAULT_RUST_GIT_REF=$ (git tag --list | grep "^[0-9]+.[0-9]+.[0-9]+$" | sort -V | tail --lines 1); RUST_GIT_REF=${RUST_GIT_REF:-$DEFAULT_RUST_GIT_REF}; git reset --hard $RUST_GIT_REF; export TOOLCHAIN=$TOOLCHAIN_32 && [ $(uname -m) = 'x86_64' ] && export TOOLCHAIN=$TOOLCHAIN_64; export PATH=$TOOLCHAIN:$PATH; ./configure --target=arm-unknown-linux-gnueabihf --prefix=$HOME/pi-rust && make -j4 && make install;' returned a non-zero code: 2
docker build --tag rust-nightly-pi-cross .
anddocker build --build-arg RUST_GIT_REF=1.10.0 --tag rust-nightly-pi-cross .
. it stopped with an error:The command '/bin/sh -c git clone $URL_GIT_RUST $HOME/rust; cd
Docker version 1.12.0-rc4, build e4a0dbc, experimental
The text was updated successfully, but these errors were encountered: