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

failed install via docker #42

Open
umblox opened this issue Aug 1, 2023 · 2 comments
Open

failed install via docker #42

umblox opened this issue Aug 1, 2023 · 2 comments

Comments

@umblox
Copy link

umblox commented Aug 1, 2023

rdmariadb uses an image, skipping
Building radiusdesk
[+] Building 30.9s (6/58) docker:default
=> [internal] load build definition from Dockerfile-build-radiusdesk 0.1s
=> => transferring dockerfile: 5.44kB 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/jtreminio/php:8.1 2.3s
=> CACHED [ 1/54] FROM docker.io/jtreminio/php:8.1@sha256:5d33f361015f910ad3cb270f2b2c574e1a8bf329ff65d7b157f3298eae9d0018 0.0s
=> CANCELED [internal] load build context 25.1s
=> => transferring context: 55.19MB 24.9s
=> ERROR [ 2/54] RUN apt-get update 25.1s
------ > [ 2/54] RUN apt-get update:
2.188 exec /bin/sh: exec format error

Dockerfile-build-radiusdesk:10

8 |
9 | # Sets up Nginx and required language pack
10 | >>> RUN apt-get update
11 | RUN apt-get -y install language-pack-en-base
12 | RUN apt-get -y install nginx

ERROR: failed to solve: process "/bin/sh -c apt-get update" did not complete successfully: exit code: 1
ERROR: Service 'radiusdesk' failed to build : Build failed

  • docker-compose up -d radiusdesk
    Building radiusdesk
    [+] Building 67.1s (6/58) docker:default
    => [internal] load .dockerignore 0.1s
    => => transferring context: 2B 0.0s
    => [internal] load build definition from Dockerfile-build-radiusdesk 0.2s
    => => transferring dockerfile: 5.44kB 0.0s
    => [internal] load metadata for docker.io/jtreminio/php:8.1 1.1s
    => CACHED [ 1/54] FROM docker.io/jtreminio/php:8.1@sha256:5d33f361015f910ad3cb270f2b2c574e1a8bf329ff65d7b157f3298eae9d0018 0.0s
    => CANCELED [internal] load build context 58.8s
    => => transferring context: 179.25MB 58.5s
    => ERROR [ 2/54] RUN apt-get update 58.6s
    ------ > [ 2/54] RUN apt-get update:
    1.204 exec /bin/sh: exec format error

Dockerfile-build-radiusdesk:10

8 |
9 | # Sets up Nginx and required language pack
10 | >>> RUN apt-get update
11 | RUN apt-get -y install language-pack-en-base
12 | RUN apt-get -y install nginx

ERROR: failed to solve: process "/bin/sh -c apt-get update" did not complete successfully: exit code: 1
ERROR: Service 'radiusdesk' failed to build : Build failed

  • echo

  • echo All 'done!'
    All done!

pake debian di stb bekas

@keeganwhite
Copy link
Contributor

error seems to be with updating apt: ERROR [ 2/54] RUN apt-get update 58.6s. Do you have internet connection?

@ngreatorex
Copy link

ngreatorex commented Jan 14, 2024

2.188 exec /bin/sh: exec format error

This suggests you are running an image on the wrong architecture. Are you building on ARM or similar?

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

3 participants