From dfe8078b1be0909b82c461763e7b897fcb225b68 Mon Sep 17 00:00:00 2001 From: Self Denial Date: Sat, 16 Nov 2024 21:29:32 -0700 Subject: [PATCH] fix: use bash with bash syntax! --- services/comfy/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/comfy/Dockerfile b/services/comfy/Dockerfile index f5f69c5..605d771 100644 --- a/services/comfy/Dockerfile +++ b/services/comfy/Dockerfile @@ -31,7 +31,7 @@ RUN groupadd -r app -g ${USE_GID} && useradd --no-log-init -m -r -g app app -u $ mkdir -p ${ROOT} && chown ${USE_UID}:${USE_GID} ${ROOT} && mkdir -p ${CACHE}/pip && chown -R ${USE_UID}:${USE_GID} ${CACHE} RUN --mount=type=cache,uid=${USE_UID},gid=${USE_GID},target=${CACHE} chown -R ${USE_UID}:${USE_UID} ${CACHE} -RUN apt-get update && apt-get install -y git && ([[ "${USE_XFLUX}" == "true" || "${USE_KRITA}" == "true" || "${USE_CNAUX}" == "true" ]] && apt-get install -y libgl1-mesa-glx python3-opencv) && apt-get clean +RUN bash -c 'apt-get update && apt-get install -y git && ([[ "${USE_XFLUX}" == "true" || "${USE_KRITA}" == "true" || "${USE_CNAUX}" == "true" ]] && apt-get install -y libgl1-mesa-glx python3-opencv) && apt-get clean' USER app:app ENV PATH="${PATH}:/home/app/.local/bin"