Skip to content

how to validate the deterministic build #2

Description

@amiller

Hi, I'm trying to practice reproducing the build. I am on this version of docker
Docker version 1.12.1, build 23cf638 on ubuntu, and get the following error when trying to build:

amiller@amiller-asus ~/projects/mpc $ ./build-iso.sh 
Sending build context to Docker daemon 6.656 kB
Step 1 : FROM ubuntu:16.04
 ---> f753707788c5
Step 2 : 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
 ---> bc0c1c5e6016
Step 3 : ADD sudoers /etc/sudoers.d/nopasswd
 ---> Using cache
 ---> 61f0adc7b60f
Step 4 : USER rust
 ---> Using cache
 ---> 04facd2795aa
Step 5 : RUN mkdir -p /home/rust/libs /home/rust/src
 ---> Using cache
 ---> c90ebbc3dc87
Step 6 : ENV PATH /home/rust/.cargo/bin:/usr/local/musl/bin:/usr/local/bin:/usr/bin:/bin
 ---> Using cache
 ---> f6d2e3075579
Step 7 : RUN curl https://sh.rustup.rs -sSf | sh -s -- -y &&     rustup default stable &&     rustup target add x86_64-unknown-linux-musl
 ---> Using cache
 ---> 72cc166a32c1
Step 8 : ADD cargo-config.toml /home/rust/.cargo/config
 ---> Using cache
 ---> 433769717106
Step 9 : WORKDIR /home/rust/libs
 ---> Using cache
 ---> e74707ece99b
Step 10 : ADD musl /home/rust/libs/musl
 ---> Using cache
 ---> d50a2b090c64
Step 11 : RUN sudo chown -R rust:rust /home/rust/libs &&     cd musl &&     ./configure && make && sudo make install &&     cd .. && rm -rf musl
 ---> Running in 362cbd6abede
/bin/sh: 1: ./configure: not found
The command '/bin/sh -c sudo chown -R rust:rust /home/rust/libs &&     cd musl &&     ./configure && make && sudo make install &&     cd .. && rm -rf musl' returned a non-zero code: 127

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