In progress

This commit is contained in:
William Brown 2022-08-07 12:26:44 +10:00
parent ebab6c5f86
commit 85a475eb53

View file

@ -39,16 +39,16 @@ ENV CARGO_HOME=/scratch/.cargo
# ======================
WORKDIR /usr/src/kanidm/kanidmd_web_ui
# This can't be used in the wasm build for now.
# ENV RUSTFLAGS="-Clinker=clang"
RUN if [ "${SCCACHE_REDIS}" != "" ]; \
then \
export CARGO_INCREMENTAL=false && \
export RUSTC_WRAPPER=sccache && \
sccache --start-server; \
fi && \
./build_wasm.sh
# WORKDIR /usr/src/kanidm/kanidmd_web_ui
# # This can't be used in the wasm build for now.
# # ENV RUSTFLAGS="-Clinker=clang"
# RUN if [ "${SCCACHE_REDIS}" != "" ]; \
# then \
# export CARGO_INCREMENTAL=false && \
# export RUSTC_WRAPPER=sccache && \
# sccache --start-server; \
# fi && \
# ./build_wasm.sh
# ======================