From a866f7ab7f8e1783fcabafc7a448af55cec2cc60 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 16 Jul 2022 16:54:08 +0300
Subject: [PATCH] Fix a typo.

I kept seeing the project name as Supersonic when it's Supercronic.
---
 crond/Dockerfile | 12 ++++++------
 crond/README.md  |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/crond/Dockerfile b/crond/Dockerfile
index 648952a..6663f0a 100644
--- a/crond/Dockerfile
+++ b/crond/Dockerfile
@@ -5,16 +5,16 @@ WORKDIR /tmp
 RUN wget -q $URL && \
     echo "$SHA1SUM  supercronic-linux-amd64" > sha1.sum && \
     sha1sum -c sha1.sum && \
-    install -m 755 supercronic-linux-amd64 /usr/local/bin/supersonic && \
+    install -m 755 supercronic-linux-amd64 /usr/local/bin/supercronic && \
     touch /crontab
 
 FROM alpine:3.16
-COPY --from=downloader /usr/local/bin/supersonic /usr/local/bin/supersonic
+COPY --from=downloader /usr/local/bin/supercronic /usr/local/bin/supercronic
 COPY --from=downloader /crontab /crontab
 WORKDIR /tmp
 USER nobody
-CMD [ "supersonic", "/crontab" ]
-HEALTHCHECK CMD pgrep supersonic
-RUN supersonic -test /crontab
+CMD [ "supercronic", "/crontab" ]
+HEALTHCHECK CMD pgrep supercronic
+RUN supercronic -test /crontab
 ONBUILD COPY crontab /crontab
-ONBUILD RUN supersonic -test /crontab
+ONBUILD RUN supercronic -test /crontab
diff --git a/crond/README.md b/crond/README.md
index 67191b3..f7aeffa 100644
--- a/crond/README.md
+++ b/crond/README.md
@@ -1,19 +1,19 @@
 # Cron docker
 
 A Docker image for running a Cron daemon, actually running
-[Supersonic](https://github.com/aptible/supercronic).
+[Supercronic](https://github.com/aptible/supercronic).
 
 ## Usage
 
 There are possible usage patterns for this image. The first is using it in a
-multi-stage image build as the source of the `supersonic` binary to incorporate
+multi-stage image build as the source of the `supercronic` binary to incorporate
 in your own image like so:
 
 ```
-FROM registry.shore.co.il/cron as supersonic
+FROM registry.shore.co.il/cron as supercronic
 
 FROM alpine:latest
-COPY --from=supersonic /usr/local/bin/supersonic /usr/local/bin/
+COPY --from=supercronic /usr/local/bin/supercronic /usr/local/bin/
 ```
 
 The other pattern is building on top of this image to run some periodic tasks.
-- 
GitLab