Is it possible to predownload ports in emsdk docker? #16165
Answered
by
kleisauke
ericoporto
asked this question in
Q&A
-
I am trying to make an emscripten dockerfile, I am going to cache this docker image and run the builds on this docker image. I want to also pre-download the Emscripten ports. Is there any command line command that can do this? My docker image uses emsdk from here ( |
Beta Was this translation helpful? Give feedback.
Answered by
kleisauke
Feb 1, 2022
Replies: 1 comment 6 replies
-
I think you can extend the existing Docker image and run FROM emscripten/emsdk:3.1.3
RUN embuilder.py build USER $ docker build -t emscripten-ports . (note that this currently fails for zlib due to #16164) |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
ericoporto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you can extend the existing Docker image and run
embuilder.py build USER
to download (and build) all ports. For example:$ docker build -t emscripten-ports .
(note that this currently fails for zlib due to #16164)