Skip to content

Commit

Permalink
Merge pull request #100 from jjliggett/bugfix/fix-devcontainer-sh-scr…
Browse files Browse the repository at this point in the history
…ipt-calls

Use /bin/bash in RUN cmds for devcontainer
  • Loading branch information
stuartleeks authored May 31, 2022
2 parents ea46138 + c5015b6 commit 616c58e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,24 @@ ENV DEVCONTAINER=true

# node
COPY scripts/node.sh /tmp/
RUN /tmp/node.sh 16.x
RUN /bin/bash /tmp/node.sh 16.x

# docker-client
COPY scripts/docker-client.sh /tmp/
RUN /tmp/docker-client.sh
RUN /bin/bash /tmp/docker-client.sh

#Add user to docker group
RUN sudo groupadd docker && sudo usermod -aG docker $USERNAME && newgrp docker

# act
COPY scripts/act.sh /tmp/
RUN /tmp/act.sh 0.2.21
RUN /bin/bash /tmp/act.sh 0.2.21

RUN sudo npm install -g tfx-cli

# azure-cli-no-mount
COPY scripts/azure-cli.sh /tmp/
RUN /tmp/azure-cli.sh
RUN /bin/bash /tmp/azure-cli.sh

RUN az extension add --name azure-devops

Expand Down

0 comments on commit 616c58e

Please sign in to comment.