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 # WORKDIR /usr/src/kanidm/kanidmd_web_ui
# This can't be used in the wasm build for now. # # This can't be used in the wasm build for now.
# ENV RUSTFLAGS="-Clinker=clang" # # ENV RUSTFLAGS="-Clinker=clang"
RUN if [ "${SCCACHE_REDIS}" != "" ]; \ # RUN if [ "${SCCACHE_REDIS}" != "" ]; \
then \ # then \
export CARGO_INCREMENTAL=false && \ # export CARGO_INCREMENTAL=false && \
export RUSTC_WRAPPER=sccache && \ # export RUSTC_WRAPPER=sccache && \
sccache --start-server; \ # sccache --start-server; \
fi && \ # fi && \
./build_wasm.sh # ./build_wasm.sh
# ====================== # ======================