Open neszt opened 3 years ago
$ uname -a Linux test 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux
$ docker version Client: Version: 18.09.1 API version: 1.39 Go version: go1.11.6 Git commit: 4c52b90 Built: Sun, 14 Jun 2020 22:12:29 +0200 OS/Arch: linux/amd64 Experimental: false Server: Engine: Version: 18.09.1 API version: 1.39 (minimum version 1.12) Go version: go1.11.6 Git commit: 4c52b90 Built: Sun Jun 14 20:12:29 2020 OS/Arch: linux/amd64 Experimental: false
$ docker build -t websocat . Sending build context to Docker daemon 2.56kB Step 1/12 : FROM rust:1.45.0 as cargo-build 1.45.0: Pulling from library/rust 31dd5ebca5ef: Pull complete 3ed641c4ae98: Pull complete bcd57146431e: Pull complete ac34a4d7c330: Pull complete 3b0a7e6f20fb: Pull complete 0a821304c0f3: Pull complete Digest: sha256:d6d99ce9c02cc706a6f9aad96ee8053a575d6fba8dc2591df13162b9d8aa2839 Status: Downloaded newer image for rust:1.45.0 ---> cbcfc3836acd Step 2/12 : RUN apt-get update && apt-get install -y --no-install-recommends musl-tools ---> Running in 3133040e99cc Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:2 http://deb.debian.org/debian buster InRelease [121 kB] Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [254 kB] Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB] Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7856 B] Fetched 8408 kB in 3s (3072 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: musl musl-dev Recommended packages: linux-musl-dev The following NEW packages will be installed: musl musl-dev musl-tools 0 upgraded, 3 newly installed, 0 to remove and 55 not upgraded. Need to get 1013 kB of archives. After this operation, 4099 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 musl amd64 1.1.21-2 [398 kB] Get:2 http://deb.debian.org/debian buster/main amd64 musl-dev amd64 1.1.21-2 [578 kB] Get:3 http://deb.debian.org/debian buster/main amd64 musl-tools amd64 1.1.21-2 [37.4 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1013 kB in 0s (2049 kB/s) Selecting previously unselected package musl:amd64. (Reading database ... 23977 files and directories currently installed.) Preparing to unpack .../musl_1.1.21-2_amd64.deb ... Unpacking musl:amd64 (1.1.21-2) ... Selecting previously unselected package musl-dev:amd64. Preparing to unpack .../musl-dev_1.1.21-2_amd64.deb ... Unpacking musl-dev:amd64 (1.1.21-2) ... Selecting previously unselected package musl-tools. Preparing to unpack .../musl-tools_1.1.21-2_amd64.deb ... Unpacking musl-tools (1.1.21-2) ... Setting up musl:amd64 (1.1.21-2) ... Setting up musl-dev:amd64 (1.1.21-2) ... Setting up musl-tools (1.1.21-2) ... Removing intermediate container 3133040e99cc ---> b02b1092a7c4 Step 3/12 : RUN rustup target add x86_64-unknown-linux-musl ---> Running in ff1dbf94d690 info: downloading component 'rust-std' for 'x86_64-unknown-linux-musl' info: installing component 'rust-std' for 'x86_64-unknown-linux-musl' info: Defaulting to 500.0 MiB unpack ram Removing intermediate container ff1dbf94d690 ---> 172b122dd9e1 Step 4/12 : WORKDIR /src/websocat ---> Running in 84812bd78aeb Removing intermediate container 84812bd78aeb ---> 00689b35802a Step 5/12 : COPY Cargo.toml Cargo.toml COPY failed: stat /var/lib/docker/tmp/docker-builder262050478/Cargo.toml: no such file or directory