diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2023-08-22 14:55:10 -0700 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2023-08-22 14:55:10 -0700 |
commit | 4caf3abbe41c55ac654f392b5f24245383bf5338 (patch) | |
tree | b8d2889a377904117fcbf9489c8b718d8734c60c | |
parent | 9292710f2ebff0f340a220ee57e8fb5702120f8b (diff) | |
download | unit-4caf3abbe41c55ac654f392b5f24245383bf5338.tar.gz unit-4caf3abbe41c55ac654f392b5f24245383bf5338.tar.bz2 |
Docker: remove npm caches in node images.
-rw-r--r-- | pkg/docker/Makefile | 2 |
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 |