summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-08-22 14:55:10 -0700
committerKonstantin Pavlov <thresh@nginx.com>2023-08-22 14:55:10 -0700
commit4caf3abbe41c55ac654f392b5f24245383bf5338 (patch)
treeb8d2889a377904117fcbf9489c8b718d8734c60c
parent9292710f2ebff0f340a220ee57e8fb5702120f8b (diff)
downloadunit-4caf3abbe41c55ac654f392b5f24245383bf5338.tar.gz
unit-4caf3abbe41c55ac654f392b5f24245383bf5338.tar.bz2
Docker: remove npm caches in node images.
-rw-r--r--pkg/docker/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/docker/Makefile b/pkg/docker/Makefile
index bf4e67f2..9cf08719 100644
--- a/pkg/docker/Makefile
+++ b/pkg/docker/Makefile
@@ -40,7 +40,7 @@ VARIANT_node ?= $(VARIANT)
$(foreach nodeversion, $(VERSIONS_node), $(eval CONTAINER_node$(nodeversion) = node:$(nodeversion)-$(VARIANT_node)))
CONFIGURE_node ?= nodejs --node-gyp=/usr/local/bin/node-gyp
INSTALL_node ?= node node-install libunit-install
-RUN_node ?= /bin/true
+RUN_node ?= rm -rf /root/.cache/ \&\& rm -rf /root/.npm
MODULE_PREBUILD_node ?= npm -g install node-gyp
VERSIONS_perl ?= 5.36 5.38