Skip to content

Commit

Permalink
Install Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
eifelmicha committed Jan 15, 2025
1 parent 16c8934 commit 8f284f2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion azure/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ RUN curl -fsSL https://get.docker.com | sh
RUN groupadd docker
RUN usermod -aG docker admin

# Install Node.js
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs=20-*

# sudo for all
RUN echo 'ALL ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

Expand All @@ -104,4 +108,7 @@ RUN ansible-galaxy collection install -r ~/ansible_collections.yml
RUN packer plugins install "github.com/hashicorp/amazon" ${PACKER_AMAZON_VERSION} && \
packer plugins install "github.com/hashicorp/ansible" ${PACKER_ANSIBLE_VERSION}

CMD ["/bin/bash"]

# No ENTRYPOINT
ENTRYPOINT []
CMD []

0 comments on commit 8f284f2

Please sign in to comment.