51 Commits

Author SHA1 Message Date
will Farrell
2c633af586
ci: syntax fix 2020-12-02 11:20:25 -07:00
will Farrell
8940b3300e
ci: add in build process 2020-12-02 11:18:46 -07:00
will Farrell
6406e1f6e4
docs: add docker pull count 2020-12-01 17:34:27 -07:00
will Farrell
9349a92372
docs: add funcing 2020-11-30 22:41:56 -07:00
will Farrell
c82354e261
Merge pull request #29 from martinec/patch-1
Update README.md
2020-02-26 12:33:12 -07:00
will Farrell
21e58d0588
feat: add license 2019-08-04 17:10:47 -06:00
Cristian Martinez
911eed81f6
Update README.md
The final Ofelia image has now a size of ~10MB

@see https://github.com/mcuadros/ofelia/pull/20
2019-03-27 14:28:48 +01:00
will Farrell
ac1760ce71
Merge pull request #27 from sergey-shambir/docs-for-docker-compose-use-case
Documented usage with docker-compose
0.5.0
2019-03-17 13:10:49 -06:00
will Farrell
68fa96e2e8
Merge pull request #25 from sergey-shambir/issue_20
Use another way to ensure docker socket is accessible
2019-03-17 13:10:08 -06:00
will Farrell
b0f5681faf
Merge pull request #26 from sergey-shambir/docker-cmd-fix
Improve crond command in Dockerfile
2019-03-17 13:09:12 -06:00
will Farrell
945357ce4a
Merge pull request #24 from sergey-shambir/envsubst
Added support for envsubst in image/container name
2019-03-17 13:08:19 -06:00
will Farrell
5d9d345dd5
Merge pull request #23 from iusmac/patch-1
Fix issue "ambiguous redirect"
2019-03-04 09:21:45 -07:00
Sergey Shambir
5946f3545d Documented usage with docker-compose 2019-03-02 16:16:07 +03:00
Sergey Shambir
46407e1e27 Turned off verbose logging
For busybox cron level 6 is enough to see errors and hide debug info
Debug info shown at level 5
Nothing shown at levels 0, 1, 2, 3, 4
See https://unix.stackexchange.com/questions/412805/crond-log-level-meaning
2019-03-02 16:02:57 +03:00
Sergey Shambir
e3afe6c3e5 Fix crond command in Dockerfile
- added logging to docker logs
- run with /etc/crontabs dir
See also https://unix.stackexchange.com/questions/412805/crond-log-level-meaning
2019-03-02 16:02:52 +03:00
Sergey Shambir
0a4e3f5753 Use another way to ensure docker socket is accessible
- check if socket group ID is presented in /etc/group
- if presented, just add 'docker' user to this group
- if not, create 'docker' group and add 'docker' user to this group
Fixes issue #20
2019-03-02 16:01:40 +03:00
Sergey Shambir
71661b4971 Added support for envsubst in image/container name
Envsubst allows to use dynamic container name
We use image name env substitution with docker-compose and .env to select right image tag for local development
Within alpine, envsubst installed with gettext package.
2019-03-02 15:49:26 +03:00
iusmac
cba3bcb0d0
Fix issue "ambiguous redirect"
Full error message: "/docker-entrypoint.sh: line 58: ${HOME_DIR}/projects/${SCRIPT_NAME}.sh: ambiguous redirect"

The error appears when in Config.json is present `name` and `container`.
2019-03-01 20:50:12 +01:00
will Farrell
02a89f6dac fix: clean up logic and only apply group if needed 0.4.0 2018-06-30 15:23:27 -06:00
will Farrell
b89e312569
fix: Change group id
Change group id to not conflict with host common id

Fix #13
2018-02-27 23:44:47 -07:00
will Farrell
f601ca262d
Merge pull request #11 from kendokan/master
fixed failure if docker group already existed
0.3.0
2018-01-11 09:15:18 -07:00
kendokan
b52842b07a
fixed failure if docker group already existed
This error prevents the container from restarting.
2018-01-11 08:13:11 -08:00
will Farrell
147e900f8b
Merge pull request #10 from kendokan/master
fixed https://github.com/willfarrell/docker-crontab/issues/9
2018-01-09 20:16:50 -07:00
Doug Dimick
40b8b93c2a fixed https://github.com/willfarrell/docker-crontab/issues/9 2018-01-09 13:17:49 -08:00
will Farrell
d5cfe3bc76 #6 Added adduser to the build script 2017-11-14 14:04:30 -07:00
will Farrell
d5f4764d25 Fix #7
slugifys name
0.2.0
2017-11-14 13:54:20 -07:00
will Farrell
61ef1db4bf Change documentation showing seconds in cron schedule in error 2017-10-23 09:45:24 -06:00
will Farrell
d83f0b3a1b Merge pull request #4 from jamesfielder/master
Fix issue where container name is incorrectly generated when using docker swarm
0.1.1
2017-10-09 11:34:31 -06:00
James Fielder
a160036ba2 Fix issue where container name issue
Fix issue where docker swarm names are incorrectly generated when project option is set.
2017-10-09 11:03:39 +01:00
will Farrell
017ee7bfc5 change log format 0.1.0 2017-06-21 13:14:00 -06:00
will Farrell
60d923c99d more tries 2017-06-17 21:01:49 -06:00
will Farrell
7f801d2d72 document docker error 2017-06-17 20:55:56 -06:00
will Farrell
173b12a96d disable crontab - bugs w/ docker 2017-06-17 20:10:47 -06:00
will Farrell
7b0498ebba allow name param & create logging systems 2017-06-17 19:41:28 -06:00
will Farrell
76675e99d5 bug fix
only first w/ onstart was triggered
2017-04-07 23:25:53 -06:00
will Farrell
c4a114a31c add comments to scripts 2017-02-15 13:42:35 -07:00
will Farrell
8f787586e7 trigger inject fix 2017-02-15 11:23:52 -07:00
will Farrell
0fc4c3fd7a push multi commands to own script 2017-02-15 11:16:11 -07:00
will Farrell
0bbd009e23 dind required to work on debian 2017-02-15 10:58:57 -07:00
will Farrell
30a276774e Add comments stdout 2017-02-15 07:03:07 -07:00
will Farrell
533b309de5 typo 2017-02-14 07:45:00 -07:00
will Farrell
11155c1f47 add ex to docs 2017-02-14 07:44:14 -07:00
will Farrell
c88150ccb2 removed curl + added onstart ability 2017-02-14 07:18:25 -07:00
will Farrell
332af352b9 fix sub script broken quote 2017-02-12 21:37:00 -07:00
will Farrell
5507ffd878 small bug fix 2017-02-12 21:08:45 -07:00
will Farrell
562ea8e433 Add link to sample 2017-02-12 17:12:40 -07:00
will Farrell
1c73fa9f91 script cleanup 2017-02-12 17:05:46 -07:00
will Farrell
e1a745ae15 Update size 2017-02-12 16:59:57 -07:00
will Farrell
aa36fb61ef remove docker-in-docker - use volumes 2017-02-12 16:57:19 -07:00
will Farrell
816d1f0fd5 add badges 2017-02-12 16:35:18 -07:00