From 6991d56eeafd15cf9ea9a981a7916c53b03369b7 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 17 Jul 2020 22:52:22 +0300
Subject: [PATCH] Onbuild instruction.

Test the crontab file on build.
---
 Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Dockerfile b/Dockerfile
index f186cfa..2a2ecca 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,3 +16,4 @@ USER nobody
 CMD [ "supersonic", "/crontab" ]
 HEALTHCHECK CMD pgrep supersonic
 RUN supersonic -test /crontab
+ONBUILD RUN supersonic -test /crontab
-- 
GitLab