From 952439a58dfc13669b91d28d83ac6441d3c6b096 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 1 Aug 2021 05:39:09 -0600 Subject: [PATCH] feature(dockerfile): remap exit code 143 to 0 - remaps sigterm exit code to 0 so docker properly detects a clean exit --- .idea/.idea.ab-dart-sass.dir/.idea/.gitignore | 13 +++++++++++++ .idea/.idea.ab-dart-sass.dir/.idea/indexLayout.xml | 8 ++++++++ .idea/.idea.ab-dart-sass.dir/.idea/vcs.xml | 13 +++++++++++++ Dockerfile | 2 +- 4 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .idea/.idea.ab-dart-sass.dir/.idea/.gitignore create mode 100644 .idea/.idea.ab-dart-sass.dir/.idea/indexLayout.xml create mode 100644 .idea/.idea.ab-dart-sass.dir/.idea/vcs.xml diff --git a/.idea/.idea.ab-dart-sass.dir/.idea/.gitignore b/.idea/.idea.ab-dart-sass.dir/.idea/.gitignore new file mode 100644 index 0000000..88053af --- /dev/null +++ b/.idea/.idea.ab-dart-sass.dir/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/contentModel.xml +/modules.xml +/.idea.ab-dart-sass.iml +/projectSettingsUpdater.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/.idea.ab-dart-sass.dir/.idea/indexLayout.xml b/.idea/.idea.ab-dart-sass.dir/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/.idea/.idea.ab-dart-sass.dir/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.ab-dart-sass.dir/.idea/vcs.xml b/.idea/.idea.ab-dart-sass.dir/.idea/vcs.xml new file mode 100644 index 0000000..45577ff --- /dev/null +++ b/.idea/.idea.ab-dart-sass.dir/.idea/vcs.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 2cf4744..b931c3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,7 +60,7 @@ RUN chown root:root /usr/local/bin/entrypoint.sh \ # switch to user account and run sass compiler USER sass -ENTRYPOINT [ "/usr/bin/tini", "--", "/usr/local/bin/entrypoint.sh" ] +ENTRYPOINT [ "/usr/bin/tini", "-e", "143", "--", "/usr/local/bin/entrypoint.sh" ] # set build timestamp, git and version labels ARG INTERNAL_VERSION