Skip to content

Commit 73d636b

Browse files
authored
Merge pull request #24 from patchlevel/tini
use tini for better sigterm handling
2 parents d59c21e + 01af0ea commit 73d636b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RUN apt-get update && apt-get install -y \
88
zip \
99
unzip \
1010
curl \
11+
tini \
1112
&& rm -rf /var/lib/apt/lists/*
1213

1314
COPY --from=composer /usr/bin/composer /usr/bin/composer
@@ -16,3 +17,7 @@ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/do
1617

1718
RUN chmod +x /usr/local/bin/install-php-extensions && \
1819
install-php-extensions $EXTENSIONS
20+
21+
ENTRYPOINT ["/usr/bin/tini", "--"]
22+
23+
CMD ["php", "-a"]

0 commit comments

Comments
 (0)