Skip to content

Commit

Permalink
Try creating venv at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvp committed May 15, 2024
1 parent c688a46 commit 6e7a0ec
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docker/pulumi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,8 @@ RUN apt-get update -y && \
# Clean up the lists work
rm -rf /var/lib/apt/lists/*

RUN python3 -m venv /tmp/venv1

# Install Oracle Cloud Infrastructure CLI
#RUN bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)" -- --exec-dir /usr/bin --accept-all-defaults

# RUN python3 -m venv /tmp/venv2
RUN bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)" -- --exec-dir /usr/bin --accept-all-defaults

# Install Go
RUN curl -fsSLo /tmp/go.tgz https://golang.org/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz && \
Expand Down Expand Up @@ -113,6 +109,8 @@ ARG PULUMI_VERSION
RUN curl -fsSL https://get.pulumi.com/ | bash -s -- --version $PULUMI_VERSION && \
mv ~/.pulumi/bin/* /usr/bin

RUN python3 -m venv /tmp/venv

# I think it's safe to say if we're using this mega image, we want pulumi
ENTRYPOINT ["pulumi"]

Expand Down

0 comments on commit 6e7a0ec

Please sign in to comment.