Skip to content

Commit

Permalink
Default home, plugins install
Browse files Browse the repository at this point in the history
  • Loading branch information
bra-fsn committed Sep 12, 2024
1 parent 9d90b0b commit 55f5473
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions image/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 55f5473

Please sign in to comment.