Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cron-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nimrod
cron-docker
Commits
cf750363
Commit
cf750363
authored
4 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
GitLab CI and personal registry.
parent
a5b2d5f5
No related branches found
No related tags found
No related merge requests found
Pipeline
#518
passed
4 years ago
Stage: test
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+22
-0
22 additions, 0 deletions
.gitlab-ci.yml
README.md
+8
-6
8 additions, 6 deletions
README.md
with
30 additions
and
6 deletions
.gitlab-ci.yml
0 → 100644
+
22
−
0
View file @
cf750363
---
include
:
-
project
:
shore/ci-templates
file
:
templates/pre-commit.yml
-
project
:
shore/ci-templates
file
:
templates/docker.yml
stages
:
-
test
-
build
-
deploy
variables
:
IMAGE
:
cron
build
:
extends
:
.docker-build-shore
tags
:
[
ns4.shore.co.il
]
push
:
extends
:
.docker-push-shore
tags
:
[
ns4.shore.co.il
]
This diff is collapsed.
Click to expand it.
README.md
+
8
−
6
View file @
cf750363
# Cron docker
# Cron docker
[

](https://git.shore.co.il/nimrod/cron-docker/-/commits/master)
A Docker image for running a Cron daemon, actually running
A Docker image for running a Cron daemon, actually running
[
Supersonic
](
https://github.com/aptible/supercronic
)
.
[
Supersonic
](
https://github.com/aptible/supercronic
)
.
...
@@ -10,7 +12,7 @@ multi-stage image build as the source of the `supersonic` binary to incorporate
...
@@ -10,7 +12,7 @@ multi-stage image build as the source of the `supersonic` binary to incorporate
in your own image like so:
in your own image like so:
```
```
FROM
adarnimrod
/cron as supersonic
FROM
registry.shore.co.il
/cron as supersonic
FROM alpine:latest
FROM alpine:latest
COPY --from=supersonic /usr/local/bin/supersonic /usr/local/bin/
COPY --from=supersonic /usr/local/bin/supersonic /usr/local/bin/
...
@@ -20,7 +22,7 @@ The other pattern is building on top of this image to run some periodic tasks
...
@@ -20,7 +22,7 @@ The other pattern is building on top of this image to run some periodic tasks
like so:
like so:
```
```
FROM
adarnimrod
/cron
FROM
registry.shore.co.il
/cron
RUN apk add --update --no-cache aws-cli
RUN apk add --update --no-cache aws-cli
COPY crontab /crontab
COPY crontab /crontab
COPY script /usr/local/bin/
COPY script /usr/local/bin/
...
@@ -32,7 +34,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
...
@@ -32,7 +34,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
## Author Information
## Author Information
Nimrod Adar,
[
contact me
](
mailto:nimrod@shore.co.il
)
or visit my
[
website
](
Nimrod Adar,
[
contact me
](
mailto:nimrod@shore.co.il
)
or visit my
https://www.shore.co.il/
)
. Patches are welcome via
[
`git send-email`
](
[
website
](
https://www.shore.co.il/
)
. Patches are welcome via
http://git-scm.com/book/en/v2/Git-Commands-Email
)
. The repository
is located
[
`git send-email`
](
http://git-scm.com/book/en/v2/Git-Commands-Email
)
. The repository
at:
<https://git.shore.co.il/exp
l
ore/>
.
is located
at:
<https://git.shore.co.il/expore/>
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment