-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Description
Version of emscripten/emsdk:
4.0.20, although more recent versions all the way up to 5.0.0 exhibit the same issue.
Failing command line in full:
The error occurs while building a Docker image based on the official emsdk Docker image, during the stage where emsdk is added to the image.
➜ docker buildx build --platform linux/amd64 -t pixelverse/strich-engine-builder -f Dockerfile .
[+] Building 39.9s (8/14) docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 5.06kB 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:jammy 1.2s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 10.65kB 0.0s
=> [stage_build 1/6] FROM docker.io/library/ubuntu:jammy@sha256:c7eb020043d8fc2ae0793fb35a37bff1cf33f156d4d4b12ccc7f3ef8706c38b1 1.7s
=> => resolve docker.io/library/ubuntu:jammy@sha256:c7eb020043d8fc2ae0793fb35a37bff1cf33f156d4d4b12ccc7f3ef8706c38b1 0.0s
=> => sha256:6f4ebca3e823b18dac366f72e537b1772bc3522a5c7ae299d6491fb17378410e 29.54MB / 29.54MB 1.4s
=> => extracting sha256:6f4ebca3e823b18dac366f72e537b1772bc3522a5c7ae299d6491fb17378410e 0.3s
=> [stage_build 2/6] RUN echo "## Start building" && echo "## Update and install packages" && apt-get -qq -y update && apt-get -qq install -y --no-install-reco 36.8s
=> [stage_build 3/6] COPY . /emsdk 0.0s
=> ERROR [stage_build 4/6] RUN echo "## Install Emscripten" && cd /emsdk && ./emsdk install tot && echo "## Done" 0.1s
------
> [stage_build 4/6] RUN echo "## Install Emscripten" && cd /emsdk && ./emsdk install tot && echo "## Done":
0.117 ## Install Emscripten
0.119 /bin/sh: 1: ./emsdk: not found
------
1 warning found (use docker --debug to expand):
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 4)
Dockerfile:24
--------------------
23 |
24 | >>> RUN echo "## Install Emscripten" \
25 | >>> && cd ${EMSDK} \
26 | >>> && ./emsdk install ${EMSCRIPTEN_VERSION} \
27 | >>> && echo "## Done"
28 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c echo \"## Install Emscripten\" && cd ${EMSDK} && ./emsdk install ${EMSCRIPTEN_VERSION} && echo \"## Done\"" did not complete successfully: exit code: 127The same build invocation used to work for this version, so it could be some transient error condition or a change in Docker itself (I use Docker Desktop on macOS).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels