Browse Source

maybe these don't need npm (#1533)

pull/1535/head
Jason Dove 2 years ago committed by GitHub
parent
commit
bb299d4ee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docker/arm32v7/Dockerfile
  2. 2
      docker/arm64/Dockerfile

2
docker/arm32v7/Dockerfile

@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y ca-certificates gnupg @@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y ca-certificates gnupg
RUN mkdir -p /etc/apt/keyrings
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
RUN apt-get update && apt-get install -y nodejs npm
RUN apt-get update && apt-get install -y nodejs
WORKDIR /source
# copy csproj and restore as distinct layers

2
docker/arm64/Dockerfile

@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y ca-certificates gnupg @@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y ca-certificates gnupg
RUN mkdir -p /etc/apt/keyrings
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
RUN apt-get update && apt-get install -y nodejs npm
RUN apt-get update && apt-get install -y nodejs
WORKDIR /source
# copy csproj and restore as distinct layers

Loading…
Cancel
Save