Skip to content

Commit

Permalink
chore: Remove outdated node install script (akuity#916)
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Suter <ssuter@twilio.com>
Co-authored-by: Kent Rancourt <kent.rancourt@gmail.com>
  • Loading branch information
moensch and krancour authored Oct 13, 2023
1 parent a9a0217 commit 55dc947
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG BUF_VERSION=v1.26.1
ARG CONTROLLER_GEN_VERSION=v0.13.0
ARG GOLANGCI_LINT_VERSION=1.54.2
ARG HELM_VERSION=v3.12.3
ARG NODE_VERSION=18.x
ARG NODE_MAJOR=18

RUN go install github.com/bufbuild/buf/cmd/buf@${BUF_VERSION} \
&& go install sigs.k8s.io/controller-tools/cmd/controller-gen@${CONTROLLER_GEN_VERSION} \
Expand All @@ -15,7 +15,10 @@ RUN go install github.com/bufbuild/buf/cmd/buf@${BUF_VERSION} \
| tar xvz golangci-lint-${GOLANGCI_LINT_VERSION}-linux-${TARGETARCH}/golangci-lint --strip-components=1 \
&& curl -sSfL https://get.helm.sh/helm-$HELM_VERSION-linux-${TARGETARCH}.tar.gz \
| tar xvz linux-${TARGETARCH}/helm --strip-components=1 \
&& curl -sL https://deb.nodesource.com/setup_${NODE_VERSION} | bash \
&& apt install nodejs \
&& apt-get install -y ca-certificates curl gnupg \
&& mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update && apt-get install nodejs -y \
&& curl -fsSL https://get.pnpm.io/install.sh | bash \
&& mv /root/.local/share/pnpm/pnpm /usr/bin

0 comments on commit 55dc947

Please sign in to comment.