1 Star 0 Fork 0

DOS汇编/emulators

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
Alexander Guryanov 提交于 2022-10-14 21:29 +08:00 . update emscripten, disable shared build
FROM ubuntu:focal
ENV TZ=Europe/Moscow
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
SHELL ["/bin/bash", "-c"]
RUN apt-get -yqq update && \
apt-get install -yq --no-install-recommends ca-certificates apt-utils build-essential git python3 cmake && \
apt-get autoremove -y && \
apt-get clean -y
RUN git clone https://github.com/emscripten-core/emsdk.git
RUN cd emsdk && git pull && git checkout main && ./emsdk install 3.1.21 && ./emsdk activate 3.1.21
RUN source /emsdk/emsdk_env.sh && npm install -g http-server yarn
WORKDIR /app
COPY package.json /app/package.json
COPY yarn.lock /app/yarn.lock
RUN source /emsdk/emsdk_env.sh && yarn
COPY tsconfig.json /app/tsconfig.json
COPY .eslintrc.json /app/.eslintrc.json
COPY CMakeLists.txt /app/CMakeLists.txt
COPY gulpfile.ts /app/gulpfile.ts
COPY native /app/native
COPY src /app/src
COPY test /app/test
RUN source /emsdk/emsdk_env.sh && yarn run gulp wasm
RUN source /emsdk/emsdk_env.sh && yarn run gulp
EXPOSE 8080
CMD source /emsdk/emsdk_env.sh && hs dist
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dosasm/emulators.git
git@gitee.com:dosasm/emulators.git
dosasm
emulators
emulators
main

搜索帮助