We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e71aac commit ff81b36Copy full SHA for ff81b36
docker/dev_env/Dockerfile
@@ -18,6 +18,8 @@ ENV HOME="/opt"
18
ENV PDM_PYTHONS="${HOME}/pdm/bin"
19
# location where `n` installs Node.js versions
20
ENV N_PREFIX="${HOME}/n"
21
+# location for `npm`'s cache
22
+ENV NPM_CONFIG_CACHE="/tmp/.npm/"
23
24
ENV PIPX_GLOBAL_HOME=/pipx
25
@@ -52,7 +54,6 @@ ENV PATH="${PNPM_BIN}:${N_PREFIX}/bin:${PDM_PYTHONS}:${HOME}/.local/bin:${PATH}"
52
54
# - n: Node.js distribution manager
53
55
# - corepack: Node.js package-manager-manager
56
RUN mkdir /pipx \
- && mkdir /opt/.npm \
57
&& dnf5 -y install dnf-plugins-core \
58
&& dnf5 -y config-manager addrepo --from-repofile=https://download.docker.com/linux/fedora/docker-ce.repo \
59
&& dnf5 -y install https://dl.k6.io/rpm/repo.rpm \
0 commit comments