12add0d91Sopenharmony_ciFROM ubuntu:22.04 22add0d91Sopenharmony_ci 32add0d91Sopenharmony_ci# This is a workaround to avoid the interaction with tzdata. 42add0d91Sopenharmony_ciENV DEBIAN_FRONTEND=noninteractive 52add0d91Sopenharmony_ciENV TZ=America/New_York 62add0d91Sopenharmony_ci 72add0d91Sopenharmony_ciRUN apt-get update 82add0d91Sopenharmony_ciRUN apt-get install -y --no-install-recommends tzdata 92add0d91Sopenharmony_ciRUN apt-get install -y --no-install-recommends \ 102add0d91Sopenharmony_ci ca-certificates \ 112add0d91Sopenharmony_ci g++ \ 122add0d91Sopenharmony_ci make \ 132add0d91Sopenharmony_ci file \ 142add0d91Sopenharmony_ci curl \ 152add0d91Sopenharmony_ci gcc \ 162add0d91Sopenharmony_ci git \ 172add0d91Sopenharmony_ci libc6-dev \ 182add0d91Sopenharmony_ci libxml2 \ 192add0d91Sopenharmony_ci python3 \ 202add0d91Sopenharmony_ci python3-distutils \ 212add0d91Sopenharmony_ci cmake \ 222add0d91Sopenharmony_ci sudo \ 232add0d91Sopenharmony_ci gdb \ 242add0d91Sopenharmony_ci xz-utils \ 252add0d91Sopenharmony_ci bzip2 262add0d91Sopenharmony_ci 272add0d91Sopenharmony_ciRUN ln -s /usr/bin/python3 /usr/bin/python & \ 282add0d91Sopenharmony_ci ln -s /usr/bin/pip3 /usr/bin/pip 292add0d91Sopenharmony_ciCOPY emscripten.sh / 302add0d91Sopenharmony_ciRUN bash /emscripten.sh 312add0d91Sopenharmony_ci 322add0d91Sopenharmony_ciENV PATH=$PATH:/rust/bin \ 332add0d91Sopenharmony_ci CARGO_TARGET_WASM32_UNKNOWN_EMSCRIPTEN_RUNNER=node-wrapper.sh 342add0d91Sopenharmony_ci 352add0d91Sopenharmony_ciCOPY emscripten-entry.sh / 362add0d91Sopenharmony_ciCOPY docker/wasm32-unknown-emscripten/node-wrapper.sh /usr/local/bin/node-wrapper.sh 372add0d91Sopenharmony_ciENTRYPOINT ["/emscripten-entry.sh"] 38