Skip to content

Commit 03a4d55

Browse files
committed
Moved builds into more specific directories
1 parent 41d580c commit 03a4d55

10 files changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ templates: rm_templates
3333
echo Building for PHP $$version; \
3434
regex=s!%%PHP_VERSION%%!$$version!g\;s!%%IMAGE_VERSION%%!$(VERSION)!g; \
3535
version_dir=$(BUILDS_DIR)/$$version; \
36-
mkdir -p $$version_dir; \
37-
sed $$regex template/Dockerfile.template > $$version_dir/Dockerfile; \
36+
mkdir -p $$version_dir-cli; \
37+
sed $$regex template/Dockerfile-cli.template > $$version_dir-cli/Dockerfile; \
38+
cp template/php.ini $$version_dir-cli; \
3839
echo ... Dockerfile; \
39-
cp template/php.ini $$version_dir; \
4040
mkdir -p $(BINS_DIR); \
4141
sed $$regex template/php-cli.template > $(BINS_DIR)/php-cli-$$version; \
4242
echo ... php-cli bin; \

0 commit comments

Comments
 (0)