Skip to content

Commit 5b98d87

Browse files
committed
Docker: Makefile housekeeping.
1 parent 6e548cb commit 5b98d87

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pkg/docker/Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ DEFAULT_VERSION := $(NXT_VERSION)
88
VERSION ?= $(DEFAULT_VERSION)
99
PATCHLEVEL ?= 1
1010

11-
EXPORT_DIR := $(VERSION)
12-
1311
MODULES ?= go jsc node perl php python ruby
1412

1513
VARIANT ?= bullseye
@@ -70,7 +68,7 @@ INSTALL_ruby ?= ruby-install
7068
RUN_ruby ?= gem install rack
7169

7270
default:
73-
@echo "valid targets: all build dockerfiles clean"
71+
@echo "valid targets: all build dockerfiles library clean"
7472

7573
MODVERSIONS = $(foreach module, $(MODULES), $(foreach modversion, $(shell for v in $(VERSIONS_$(module)); do echo $$v; done | sort -r), $(module)$(modversion))) minimal
7674

@@ -121,7 +119,6 @@ library:
121119
all: $(addprefix Dockerfile., $(MODVERSIONS))
122120

123121
clean:
124-
rm -f $(addprefix Dockerfile., $(MODVERSIONS))
125-
rm -rf $(EXPORT_DIR)
122+
rm -f Dockerfile.*
126123

127124
.PHONY: default build dockerfiles clean library

0 commit comments

Comments
 (0)