https://pulumi.com logo
#general
Title
# general
g

glamorous-waitress-51149

11/14/2019, 2:05 PM
just had a look and might be able to use ``curl -fsSL`
<https://get.pulumi.com/>
`| bash --version 1.2.3``
w

worried-city-86458

11/14/2019, 5:55 PM
That's what you need
I use the following in my Dockerfile:
Copy code
# Install Pulumi
ENV PULUMI_VERSION=1.5.2 PULUMI_SKIP_UPDATE_CHECK=true

RUN curl -fsSL <https://get.pulumi.com> | bash -s -- --version $PULUMI_VERSION \
    && sed -i -e '/# add Pulumi to the PATH/,/export PATH=/d' ~/.bashrc \
    && mv ~/.pulumi/bin/* /usr/local/bin \
    && pulumi gen-completion bash > /etc/bash_completion.d/pulumi \
    && echo "alias p='pulumi'\ncomplete -o default -F __start_pulumi p" >> ~/.bashrc \
    && pulumi version
👍 1
(Also moving to
/usr/local/bin
, configuring a
p
alias, and bash completion)
2 Views