From cfa07e1bf73f93f8b08a436a672b106a10a32c77 Mon Sep 17 00:00:00 2001 From: Andrei Mihu Date: Tue, 26 Nov 2019 11:07:07 +0000 Subject: [PATCH] Do not use absolute path for tini executable in default container entrypoint. --- CHANGELOG.md | 4 ++++ build/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6056cf60..2fad56154 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,11 @@ All notable changes to this project are documented below. The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org). ## [Unreleased] +### Changed +- Do not use absolute path for `tini` executable in default container entrypoint. +### Fixed +- Correctly read pagination cursor in notification listings. ## [2.8.0] - 2019-11-11 ### Added diff --git a/build/Dockerfile b/build/Dockerfile index 2f72ce470..dc0388978 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -55,7 +55,7 @@ WORKDIR /nakama/ COPY --from=builder "/go/build-out/nakama" /nakama/ EXPOSE 7349 7350 7351 -ENTRYPOINT ["/usr/bin/tini", "--", "/nakama/nakama"] +ENTRYPOINT ["tini", "--", "/nakama/nakama"] HEALTHCHECK --interval=5m --timeout=10s \ CMD curl -f http://localhost:7350/ || exit 1 -- GitLab