Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yeikel committed Mar 16, 2024
1 parent 4f51b78 commit 16d5ce2
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions npm_and_yarn/Dockerfile
Expand Up @@ -4,19 +4,14 @@ FROM ghcr.io/dependabot/dependabot-updater-core
ARG COREPACK_VERSION=0.24.0

# Check for updates at https://github.com/pnpm/pnpm/releases
ARG PNPM_VERSION=8.15.2
ARG PNPM_VERSION=8.15.2

# Check for updates at https://github.com/yarnpkg/berry/releases
ARG YARN_VERSION=3.7.0

# See https://github.com/nodesource/distributions#installation-instructions
ARG NODEJS_VERSION=20

# Check for updates at https://github.com/npm/cli/releases
# This version should be compatible with the Node.js version declared above. See https://nodejs.org/en/download/releases as well
# TODO: Upgrade to 9.6.7 depending on the outcome of https://github.com/npm/cli/issues/6742
ARG NPM_VERSION=9.6.6

# Install Node and npm
RUN mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
Expand All @@ -36,9 +31,6 @@ RUN corepack install pnpm@$PNPM_VERSION --global
# Install yarn berry and set it to a stable version
RUN corepack install yarn@$YARN_VERSION --global

# Install npm and set it to a stable version
RUN corepack install npm@$NPM_VERSION --global

ENV DEPENDABOT_NATIVE_HELPERS_PATH="/opt"
COPY --chown=dependabot:dependabot npm_and_yarn/helpers /opt/npm_and_yarn/helpers
RUN bash /opt/npm_and_yarn/helpers/build
Expand Down

0 comments on commit 16d5ce2

Please sign in to comment.