Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
anoopfirefox authored Dec 2, 2024
1 parent f8f098d commit c4565c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ ARG TERRAFORM_VER="1.4.0"
ARG YQ_VER="v4.35.1"

# Install dependencies and tools in a single RUN command to minimize layers
RUN sudo apt update -y && umask 0002 \
RUN sudo apt update -y \
umask 0002 \
sudo apt install -y ca-certificates curl wget apt-transport-https lsb-release gnupg unzip ssh git jq software-properties-common openssl && \
curl -sL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/microsoft.gpg > /dev/null && \
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ jammy main" | sudo tee /etc/apt/sources.list.d/azure-cli.list && \
Expand All @@ -31,4 +32,4 @@ RUN sudo apt update -y && umask 0002 \
# Download and Install Node JS
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - \
sudo apt-get install -y nodejs \
&& node --version
node --version

0 comments on commit c4565c6

Please sign in to comment.