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
commit45bfba04bc62b9dba523cdbd20bcf9e6e4348bdf (patch)
treef9ae7597556e0403f6a53251de5bb5a15dad934b
parent7af9f1a175e3dc7f92b6d5dedf5e936bebe490cd (diff)
downloadunit-45bfba04bc62b9dba523cdbd20bcf9e6e4348bdf.tar.gz
unit-45bfba04bc62b9dba523cdbd20bcf9e6e4348bdf.tar.bz2
Docker: remove gem caches in ruby 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 feb6eb06..237228a9 100644
--- a/pkg/docker/Makefile
+++ b/pkg/docker/Makefile
@@ -72,7 +72,7 @@ VARIANT_ruby ?= $(VARIANT)
$(foreach rubyversion, $(VERSIONS_ruby), $(eval CONTAINER_ruby$(rubyversion) = ruby:$(rubyversion)-$(VARIANT_ruby)))
CONFIGURE_ruby ?= ruby
INSTALL_ruby ?= ruby-install
-RUN_ruby ?= gem install rack
+RUN_ruby ?= gem install rack \&\& rm -rf /root/.local
MODULE_PREBUILD_ruby ?= /bin/true
VERSIONS_wasm ?=