Skip to content

docker/README.md mistakenly claims an argument is necessary #748

@MarkCallow

Description

@MarkCallow

In its Building Dockerfile section, docker/README.md says


This image requires to specify following build arguments:

arg description
EMSCRIPTEN_VERSION One of released version of Emscripten. For example 1.39.17 Minimal supported version is 1.39.0

and gives the example

# using docker
docker build \
    --network host \
    --build-arg=EMSCRIPTEN_VERSION=1.39.17 \
    -t emscripten/emsdk:1.39.17 \
    -f docker/Dockerfile \
    .

The argument appears to be optional not required. This build succeeds.

# using docker
docker build \
    --network host \
    -t emscripten/emsdk \
    -f docker/Dockerfile \
    .

Furthermore if you build in the described way, the run example will fail because when you use just emscripten/emsdk as the image name, as the example does, docker will report ``emscripten/emsdk:latest not found`.

I do not know the correct fix so have not attempted to create a PR.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions