Skip to content

Commit

Permalink
docs: improve documentation (#7328)
Browse files Browse the repository at this point in the history
* docs: improve documentation

* Update Dockerfile
  • Loading branch information
yeikel committed May 16, 2023
1 parent 79e5758 commit 7e98127
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions npm_and_yarn/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
FROM ghcr.io/dependabot/dependabot-updater-core
ENV DEPENDABOT_HOME /home/dependabot
### JAVASCRIPT

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

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

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

# 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
ARG NPM_VERSION=8.19.4

# Install Node and npm
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
RUN curl -sL https://deb.nodesource.com/setup_$NODEJS_VERSION | bash - \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
nodejs \
&& rm -rf /var/lib/apt/lists/* \
&& npm install -g npm@8.19.4 \
&& npm install -g npm@$NPM_VERSION \
&& rm -rf ~/.npm

RUN corepack enable
Expand Down

0 comments on commit 7e98127

Please sign in to comment.