Skip to content

Commit 46db7fb

Browse files
WASM needs 1 more library in docker image
1 parent a4be56f commit 46db7fb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Build/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \
1414

1515
RUN dnf -y install dnf-plugins-core dnf-plugin-config-manager && dnf -y update
1616
RUN dnf -y install epel-release && dnf -y config-manager --set-enabled powertools
17+
RUN dnf -y install libatomic
1718

1819
# Tooling
1920
RUN dnf -y install gcc-toolset-9-gcc gcc-toolset-9-gcc-c++ cmake ninja-build git curl
@@ -67,7 +68,9 @@ RUN if [ -n "$USER_ID" ]; then \
6768
fi
6869

6970
# Sanity check (now python3 == 3.9; don't rely on EMSDK_PYTHON which emsdk_env clears)
70-
RUN bash -lc "source ${EMSDK}/emsdk_env.sh && python3 --version && emcc --version && em++ --version && node --version"
71+
RUN bash -lc "source ${EMSDK}/emsdk_env.sh && \
72+
python3 --version && emcc --version && em++ --version && node --version && \
73+
/opt/emsdk/upstream/bin/wasm-opt --version"
7174

7275
# Your repo should provide this script; it will source the env before running any command.
7376
ENTRYPOINT ["./entrypoint.sh"]

0 commit comments

Comments
 (0)