Skip to content

Commit

Permalink
fix(dev-container): removed unnecessary sudo invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
chkpwd committed Aug 4, 2023
1 parent 605820d commit 7353277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ RUN \
# AWS CLI
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
sudo ./aws/install && \
./aws/install && \
rm awscliv2.zip && \
# infrahq
echo 'deb [trusted=yes] https://apt.fury.io/infrahq/ /' | tee /etc/apt/sources.list.d/infrahq.list && \
Expand All @@ -97,7 +97,7 @@ RUN \
curl -L https://get.pulumi.com/releases/sdk/pulumi-v3.76.1-linux-x64.tar.gz | tar xvzf - -C /tmp --strip-components=1 && \
mv /tmp/pulumi* /usr/bin && \
# terraform, vault, and packer
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - && \
curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - && \
echo "deb [arch=amd64] https://apt.releases.hashicorp.com focal main" > /etc/apt/sources.list.d/hashicorp.list && \
apt-get update && \
apt-get install -y terraform vault packer && \
Expand Down

0 comments on commit 7353277

Please sign in to comment.