mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
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:
parent
bfdbf768fc
commit
af7a72f944
@ -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/
|
||||||
@ -65,4 +71,4 @@ ENV WAVM_VERSION 2021-12-15
|
|||||||
RUN mkdir -p /wasi-runtimes/wavm/ && \
|
RUN mkdir -p /wasi-runtimes/wavm/ && \
|
||||||
curl -LO https://github.com/WAVM/WAVM/releases/download/nightly%2F${WAVM_VERSION}/wavm-0.0.0-prerelease-linux.tar.gz && \
|
curl -LO https://github.com/WAVM/WAVM/releases/download/nightly%2F${WAVM_VERSION}/wavm-0.0.0-prerelease-linux.tar.gz && \
|
||||||
tar -xv -C /wasi-runtimes/wavm/ -f wavm-0.0.0-prerelease-linux.tar.gz
|
tar -xv -C /wasi-runtimes/wavm/ -f wavm-0.0.0-prerelease-linux.tar.gz
|
||||||
ENV PATH "/wasi-runtimes/wavm/bin:$PATH"
|
ENV PATH "/wasi-runtimes/wavm/bin:$PATH"
|
||||||
|
Loading…
Reference in New Issue
Block a user