-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |