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

Dockerfile.debian-11.multistage - install-packages.sh error with debian:stable-slim base image #24

Open
DavidJCottrell opened this issue Sep 21, 2024 · 0 comments

Comments

@DavidJCottrell
Copy link

I get the following error when trying to build an image from the Dockerfile.debian-11.multistage Dockerfile:

=> ERROR [m2st_packages 1/1] RUN ./install-packages.sh                                                                                                                0.1s
------
 > [m2st_packages 1/1] RUN ./install-packages.sh:
0.101 Distribution debian12 is not yet supported.
------

 1 warning found (use docker --debug to expand):
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 49)
Dockerfile.debian-11.multistage:33
--------------------
  31 |     FROM m2st_base AS m2st_packages
  32 |     # Install packaged dependencies
  33 | >>> RUN ./install-packages.sh
  34 |
  35 |     FROM m2st_packages AS m2st_dependencies
--------------------
ERROR: failed to solve: process "/bin/sh -c ./install-packages.sh" did not complete successfully: exit code: 54

Changing the base image to debian:11-slim seems to fix the error however.

Build environment: ARM based MacBook (MacOS 15.0)

I can see if this also occurs on x86 in Windows or Linux if this is likely linked to trying to build the image from an ARM based machine.

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