Skip to content

Commit

Permalink
Simplify Dockerfile (#3976)
Browse files Browse the repository at this point in the history
Now a newer version of node is available from standard sources, we don't need the previous workaround
  • Loading branch information
theunrepentantgeek authored May 1, 2024
1 parent 26a4622 commit 8ad424e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,10 @@ ARG TARGETARCH
# APT dependencies
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get -y install --no-install-recommends bash-completion software-properties-common lsb-release graphviz zip \
&& apt-get -y install --no-install-recommends bash-completion software-properties-common lsb-release graphviz zip nodejs npm \
# install az-cli
&& curl -sL https://aka.ms/InstallAzureCLIDeb | bash -

# For Hugo we need a newer version of NodeJS than the v12.22.12 available via the standard sources
RUN curl -fsSL https://deb.nodesource.com/setup_18.x -o /tmp/nodesource-setup.sh \
&& sudo bash /tmp/nodesource-setup.sh \
&& apt-get -y install nodejs

# install docker
# - not yet needed?
# RUN curl -fsSL https://get.docker.com | sh -
Expand Down

0 comments on commit 8ad424e

Please sign in to comment.