Skip to content

Commit

Permalink
Pin porter package in script
Browse files Browse the repository at this point in the history
  • Loading branch information
marrobi committed Sep 22, 2022
1 parent e1aace4 commit 2b36b29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ COPY .devcontainer/scripts/porter.sh /tmp/
RUN export PORTER_MIRROR=${PORTER_MIRROR} \
PORTER_PERMALINK=${PORTER_PERMALINK} \
PORTER_PKG_PERMALINK=${PORTER_PKG_PERMALINK} \
PORTER_TERRAFORM_MIXIN_PKG_PERMALINK="v1.0.0-rc.1" \
PORTER_HOME=${PORTER_HOME} \
&& porter mixin install terraform --version v1.0.0-rc.1
&& /tmp/porter.sh

ENV PATH ${PORTER_HOME}:$PATH
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/scripts/porter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ chmod +x "${PORTER_HOME}/porter"
ln -s "${PORTER_HOME}/porter" "${PORTER_HOME}/runtimes/porter-runtime"

"${PORTER_HOME}/porter" mixin install exec --version "${PORTER_PKG_PERMALINK}"
"${PORTER_HOME}/porter" mixin install terraform --version "${PORTER_PKG_PERMALINK}"
"${PORTER_HOME}/porter" mixin install terraform --version "${PORTER_TERRAFORM_MIXIN_PKG_PERMALINK}"
"${PORTER_HOME}/porter" mixin install az --version "${PORTER_PKG_PERMALINK}"
"${PORTER_HOME}/porter" plugin install azure --version "${PORTER_PKG_PERMALINK}"
"${PORTER_HOME}/porter" mixin install docker --version "${PORTER_PKG_PERMALINK}"
Expand Down

0 comments on commit 2b36b29

Please sign in to comment.