From 55f5473bc516537fa1ebb81a2ea4838609e7465f Mon Sep 17 00:00:00 2001 From: bra-fsn Date: Thu, 12 Sep 2024 09:28:57 +0200 Subject: [PATCH] Default home, plugins install --- image/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/image/Dockerfile b/image/Dockerfile index 2ec7f25..b4e5fe0 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -1,13 +1,12 @@ FROM python:3.12 VOLUME /data/workdir -VOLUME /data/.pulumi VOLUME /data/backend ENV PULUMI_CONFIG_PASSPHRASE="" ENV VIRTUAL_ENV="/pulumi_venv" ENV PATH=/root/.pulumi/bin:$VIRTUAL_ENV/bin:$PATH -RUN curl -fsSL https://get.pulumi.com | sh +RUN curl -fsSL https://get.pulumi.com | sh && for i in azure-native aws gcp; do pulumi plugin install resource $i; done RUN --mount=id=root,type=cache,target=/root,sharing=shared \ python -m venv --without-pip "$VIRTUAL_ENV" && \ curl -sSLf https://bootstrap.pypa.io/get-pip.py | python - && \ - pip install "sparecores-runner>=0.0.26" + pip install "sparecores-runner>=0.0.27" ENTRYPOINT sc-runner \ No newline at end of file