wasm: Add libxkbcommon0 dependency for wasmer

xref: https://github.com/singlestore-labs/python-wasi/issues/3 https://github.com/wasmerio/wasmer/issues/2810
This commit is contained in:
Matt McCormick 2022-03-07 19:23:55 -05:00
parent bfdbf768fc
commit af7a72f944

View File

@ -49,6 +49,12 @@ RUN mkdir ${WASMTIME_HOME} && curl https://wasmtime.dev/install.sh -sSf | bash
COPY imagefiles/wasmtime-pwd.sh ${WASMTIME_HOME}/bin/ COPY imagefiles/wasmtime-pwd.sh ${WASMTIME_HOME}/bin/
ENV PATH "$WASMTIME_HOME/bin:$PATH" ENV PATH "$WASMTIME_HOME/bin:$PATH"
# For wasmer
RUN \
apt-get update --yes && \
apt-get install --no-install-recommends --yes \
libxkbcommon0
ENV WASMER_DIR /wasi-runtimes/wasmer ENV WASMER_DIR /wasi-runtimes/wasmer
RUN curl https://get.wasmer.io -sSfL | sh RUN curl https://get.wasmer.io -sSfL | sh
COPY imagefiles/wasmer-pwd.sh ${WASMER_DIR}/bin/ COPY imagefiles/wasmer-pwd.sh ${WASMER_DIR}/bin/