Skip to content

Commit b69bcef

Browse files
committed
Update nvm source
1 parent e8bd17b commit b69bcef

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dogfood/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ COPY files /
9494
# We used to copy /etc/sudoers.d/* in from files/ but this causes issues with
9595
# permissions and layer caching. Instead, create the file directly.
9696
RUN mkdir -p /etc/sudoers.d && \
97-
echo 'coder ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/nopasswd && \
97+
echo 'coder ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/nopasswd && \
9898
chmod 750 /etc/sudoers.d/ && \
9999
chmod 640 /etc/sudoers.d/nopasswd
100100

@@ -178,10 +178,10 @@ RUN apt-get update --quiet && apt-get install --yes \
178178
# NOTE: In scripts/Dockerfile.base we specifically install Terraform version 1.9.2.
179179
# Installing the same version here to match.
180180
RUN wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.9.2/terraform_1.9.2_linux_amd64.zip" && \
181-
unzip /tmp/terraform.zip -d /usr/local/bin && \
182-
rm -f /tmp/terraform.zip && \
183-
chmod +x /usr/local/bin/terraform && \
184-
terraform --version
181+
unzip /tmp/terraform.zip -d /usr/local/bin && \
182+
rm -f /tmp/terraform.zip && \
183+
chmod +x /usr/local/bin/terraform && \
184+
terraform --version
185185

186186
# Install the docker buildx component.
187187
RUN DOCKER_BUILDX_VERSION=$(curl -s "https://api.github.com/repos/docker/buildx/releases/latest" | grep '"tag_name":' | sed -E 's/.*"(v[^"]+)".*/\1/') && \
@@ -206,7 +206,7 @@ RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygi
206206
ENV NVM_DIR=/usr/local/nvm
207207
ENV NODE_VERSION=20.16.0
208208
RUN mkdir -p $NVM_DIR
209-
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.40.0/install.sh | bash
209+
RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
210210
RUN source $NVM_DIR/nvm.sh && \
211211
nvm install $NODE_VERSION && \
212212
nvm use $NODE_VERSION

0 commit comments

Comments
 (0)