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

docker build failed #16

Open
RonaldFletcher opened this issue Oct 12, 2024 · 0 comments
Open

docker build failed #16

RonaldFletcher opened this issue Oct 12, 2024 · 0 comments

Comments

@RonaldFletcher
Copy link

RonaldFletcher commented Oct 12, 2024

~/go/src/github.com/tensorflow-serving-arm #2.3.0 ❯ docker build -t emacski/tensorflow-serving:latest-devel -f tensorflow_model_server/tools/docker/Dockerfile .                    base

[+] Building 11.1s (7/12)                                                                                                                                            docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                                                                                                 0.0s
 => => transferring dockerfile: 3.01kB                                                                                                                                               0.0s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 16)                                                                                                      0.0s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 61)                                                                                                      0.0s
 => [internal] load metadata for docker.io/library/debian:buster                                                                                                                     2.3s
 => [auth] library/debian:pull token for registry-1.docker.io                                                                                                                        0.0s
 => [internal] load .dockerignore                                                                                                                                                    0.0s
 => => transferring context: 2B                                                                                                                                                      0.0s
 => [build 1/7] FROM docker.io/library/debian:buster@sha256:58ce6f1271ae1c8a2006ff7d3e54e9874d839f573d8009c20154ad0f2fb0a225                                                         0.0s
 => CACHED [build 2/7] RUN apt-get update &&     apt-get install -y --no-install-recommends         curl ca-certificates         gcc g++         gcc-arm-linux-gnueabihf g++-arm-li  0.0s
 => ERROR [build 3/7] RUN curl -L https://raw.githubusercontent.com/emacski/bazel-tools/master/toolchain/cpp/clang/install_clang11_debian10.sh         -o install_clang11_debian10.  8.7s
------                                                                                                                                                                                    
 > [build 3/7] RUN curl -L https://raw.githubusercontent.com/emacski/bazel-tools/master/toolchain/cpp/clang/install_clang11_debian10.sh         -o install_clang11_debian10.sh &&     sh install_clang11_debian10.sh && rm -f install_clang11_debian10.sh:                                                                                                                          
0.196   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                                                                                     
0.196                                  Dload  Upload   Total   Spent    Left  Speed                                                                                                       
100  3700  100  3700    0     0   2421      0  0:00:01  0:00:01 --:--:--  2421                                                                                                            
2.457 Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
2.809 Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
3.200 Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
3.433 Ign:4 http://deb.debian.org/debian buster-backports InRelease
4.675 Get:5 http://deb.debian.org/debian buster/main arm64 Packages [7737 kB]
5.995 Get:6 http://deb.debian.org/debian buster/main armhf Packages [7706 kB]
6.647 Get:7 http://deb.debian.org/debian-security buster/updates/main armhf Packages [602 kB]
7.212 Get:8 http://deb.debian.org/debian-security buster/updates/main arm64 Packages [600 kB]
7.503 Get:9 http://deb.debian.org/debian buster-updates/main armhf Packages [8784 B]
7.774 Get:10 http://deb.debian.org/debian buster-updates/main arm64 Packages [8780 B]
8.037 Err:11 http://deb.debian.org/debian buster-backports Release
8.037   404  Not Found [IP: 198.18.20.204 80]
8.048 Reading package lists...
8.658 E: The repository 'http://deb.debian.org/debian buster-backports Release' does not have a Release file.
------

 2 warnings found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 16)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 61)
Dockerfile:26
--------------------
  25 |         rm -rf /var/lib/apt/lists/*
  26 | >>> RUN curl -L https://raw.githubusercontent.com/emacski/bazel-tools/master/toolchain/cpp/clang/install_clang11_debian10.sh \
  27 | >>>         -o install_clang11_debian10.sh && \
  28 | >>>     sh install_clang11_debian10.sh && rm -f install_clang11_debian10.sh
  29 |     # python toolchain
--------------------
ERROR: failed to solve: process "/bin/sh -c curl -L https://raw.githubusercontent.com/emacski/bazel-tools/master/toolchain/cpp/clang/install_clang11_debian10.sh         -o install_clang11_debian10.sh &&     sh install_clang11_debian10.sh && rm -f install_clang11_debian10.sh" did not complete successfully: exit code: 100

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/lycggwjkqjv6m790wh8qbz1oa
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