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 while building Dockerfile #3

Open
utkrssh opened this issue May 28, 2024 · 0 comments
Open

Error while building Dockerfile #3

utkrssh opened this issue May 28, 2024 · 0 comments

Comments

@utkrssh
Copy link

utkrssh commented May 28, 2024

I get the following error when I run docker build ..

[+] Building 1.4s (10/49)                                                                             docker:default
 => [internal] load build definition from Dockerfile                                                            0.0s
 => => transferring dockerfile: 16.20kB                                                                         0.0s
 => [internal] load metadata for docker.io/ysangkok/i486-musl-cross:latest                                      1.0s
 => [internal] load .dockerignore                                                                               0.0s
 => => transferring context: 2B                                                                                 0.0s
 => [ 1/46] FROM docker.io/ysangkok/i486-musl-cross:latest@sha256:7d34e75f70c694a0165b18e887a6ae4dc2cea2e99fed  0.0s
 => [internal] load build context                                                                               0.0s
 => => transferring context: 3.39kB                                                                             0.0s
 => CACHED [ 2/46] COPY sltar.c sltar.c                                                                         0.0s
 => CACHED [ 3/46] RUN   /i486-musl-cross/bin/i486-linux-musl-gcc sltar.c -DVERSION=""9000"" -static -o sltar   0.0s
 => CACHED [ 4/46] COPY ./patchelf-0.9 patchelf                                                                 0.0s
 => CACHED [ 5/46] RUN cd patchelf && ./configure LDFLAGS=-static                                               0.0s
 => ERROR [ 6/46] RUN cd patchelf/src; /i486-musl-cross/i486-linux-musl/bin/../lib/libc.so /make-4.2.1/make; c  0.3s
------                                                                                                               
 > [ 6/46] RUN cd patchelf/src; /i486-musl-cross/i486-linux-musl/bin/../lib/libc.so /make-4.2.1/make; cp patchelf /usr/bin:
0.259 cd .. && make  am--refresh
0.261 /bin/sh: make: not found
0.261 make: *** [Makefile:295: ../aclocal.m4] Error 127
0.262 cp: can't stat 'patchelf': No such file or directory
------
Dockerfile:23
--------------------
  21 |     COPY ./patchelf-0.9 patchelf
  22 |     RUN cd patchelf && ./configure LDFLAGS=-static
  23 | >>> RUN cd patchelf/src; $TOOLSBIN/../lib/libc.so /make-4.2.1/make; cp patchelf /usr/bin
  24 |     RUN patchelf --set-interpreter $TOOLSBIN/../lib/libc.so /make-4.2.1/make
  25 |     RUN cd /make-4.2.1; cp ./make /usr/bin/make
--------------------
ERROR: failed to solve: process "/bin/sh -c cd patchelf/src; $TOOLSBIN/../lib/libc.so /make-4.2.1/make; cp patchelf /usr/bin" did not complete successfully: exit code: 1
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