mirror of synced 2026-11-21 09:26:28 +03:00
Commit Graph
95 Commits
Author SHA1 Message Date
John Regan dbf9253727 bump version, update to latest skaware 2018-03-01 15:56:30 -06:00
John Regan cfbc8cbc05 bump version 2017-12-19 11:54:12 -06:00
jjlorenzo cc395e441a Update init-stage2
fix s6-test: fatal: parse error at argument 0
2017-12-12 04:24:02 -05:00
John Regan aa00281c34 bump version 2017-11-15 11:43:51 -06:00
John Regan 8983527b97 Allow S6_LOGGING=2 to log CMD's output 2017-11-15 11:42:11 -06:00
John Regan 0f7a212ada Reverts #149, no longer wraps CMD into a service
It seems auto-wrapping a CMD into a service breaks
some expected behavior on Travis, and possibly
other scenarios with virtual tty's.

I think the original reason for wrapping the CMD into
a service was to allow interaction via `s6-svc`, though
I can't imagine that gets too much use.
2017-11-15 11:16:01 -06:00
John Regan 735722d6a5 make sure docker-cmd is in foreground 2017-11-15 10:01:16 -06:00
John Regan 902141d687 version bump to pull in musl-1.1.18 2017-11-02 13:25:55 -05:00
John Regan 6ad7330d76 release 1.21.1.1 2017-10-19 19:05:10 -05:00
John Regan 90fe68111e save/restore CWD when running CMD, fixes #219 2017-10-19 19:03:43 -05:00
John Regan 509bc414a5 update to skaware 1.21.1 2017-10-19 17:04:49 -05:00
John Regan 807e41e83d Merge pull request #218 from jlesage/clear-cont-env
Before creating container environment, make sure to remove any existing one.
2017-10-19 10:04:02 -05:00
Jocelyn Le Sage db2fc1635a Before creating container environment, make sure to remove any existing one. 2017-10-19 08:06:55 -04:00
Jocelyn Le Sage face55bd28 Fix for issue #216: Store the docker cmd exit code in the proper variable. 2017-10-19 07:57:31 -04:00
John Regan 33d2b1f96c docker-cmd: retrieve stdin 2017-10-16 12:15:12 -05:00
John Regan 66f5d2f4c9 merge #149 2017-10-16 11:12:45 -05:00
John Regan 1942dbd3e5 Merge pull request #151 from redbaron/init-PATH
Don't forget to export default PATH
2017-10-16 11:01:15 -05:00
John Regan d003e8d14d Merge pull request #176 from soulwing/master
added S6_READ_ONLY_ROOT; copy instead of link user files
2017-10-16 11:00:59 -05:00
John Regan 2588b7c783 Merge pull request #180 from redbaron/respect-S6_BEHAVIOUR_IF_STAGE2_FAILS
Make S6_CMD_WAIT_FOR_SERVICES to respect S6_BEHAVIOUR_IF_STAGE2_FAILS
2017-10-16 10:59:52 -05:00
John Regan cda603e639 Merge pull request #187 from jimcistaro/master
"cmd exited ..." should use init-stage2-redirfd to honor S6_LOGGING.
2017-10-16 10:58:23 -05:00
John Regan fefbaac646 bump version 2017-10-13 15:56:00 -05:00
John Regan 3d682e1a6b Merge pull request #186 from jrgensen/master
Make stage2 exit code available in stage3
2017-10-13 15:41:17 -05:00
Leandro Kersting de Freitas cea39add24 Upgrade to SKAWARE_VERSION=1.20.0 2017-08-11 06:38:55 -03:00
Jim Cistaro d17b33da07 "cmd exited ..." should use init-stage2-redirfd to honor S6_LOGGING. 2017-04-26 18:29:42 -07:00
John Regan 244aa1f8e8 add s6-networking 2017-01-22 09:11:05 -06:00
John Regan a16b3d747e add aarch64 2017-01-22 09:07:23 -06:00
John Regan f4e0f4bd96 add x86 2017-01-22 09:04:04 -06:00
John Regan 3e6b1f4ec6 bump versions, pull in more s6 packages 2017-01-13 16:29:16 -06:00
Klaus Jrgensen e33f6ef381 Make stage2 exit code available in stage3 2016-10-26 11:20:18 +02:00
Maxim Ivanov 1fd02dc32e Escape CMD args correctly 2016-09-28 11:49:28 +01:00
Maxim Ivanov 6bc71c50e7 Allows containers to provide default CMD. Minor fixes 2016-09-28 10:37:53 +01:00
Maxim Ivanov 1d05adfeb5 Don't wait for CMD completion in /init 2016-09-28 10:37:53 +01:00
Maxim Ivanov 057d2b7415 Wrap CMD into a s6 service
It  makes it easier for one to transition to
a fully service based containers, by providing
working example how given CMD can be wrapped into a service.

It also enables nicer interaction with a long running CMD
via `s6-svc` command when `docker exec` is used.

Docker container CMD semantic remains unchanged from
original naked implementation
2016-09-28 10:37:53 +01:00
Maxim Ivanov ebf36ac033 Make S6_CMD_WAIT_FOR_SERVICES to respect S6_BEHAVIOUR_IF_STAGE2_FAILS
Waiting sequentially is only marginally slower than waiting in parallel,
but in return proper exit code can be set and handled, so that failing
services do fail startup procedure
2016-09-27 10:10:10 +01:00
Carl Harris 877492258a added S6_READ_ONLY_ROOT; copy instead of link user files 2016-09-03 11:16:31 -04:00
Gorka Lerchundi Osa 101ebb58b6 feat: wait for services to be up before CMDing 2016-08-21 14:16:20 +02:00
Gorka Lerchundi Osa 3178ce6e75 refactor: S6_ATTRS_FIX_HIDDEN -> S6_FIX_ATTRS_HIDDEN
+ documentation fixes
2016-08-21 14:09:59 +02:00
Janne K a6d0858048 Add S6_ATTRS_FIX_HIDDEN environment variable
Use the environment variable to activate processing of hidden files and
directories by fix-attrs.d scripts.
2016-07-21 13:08:18 +03:00
Janne K a1a09af280 Fix attributes also for hidden items
Fixes issue just-containers/s6-overlay#167
2016-07-18 22:33:28 +03:00
Gorka Lerchundi Osa 076e85a2c7 fix: revert back and don't use /bin in with-contenv
it was introduced when a fix for import->importas was provided
2016-06-30 10:49:26 +02:00
John Regan b0c010af18 Fix for #150 2016-06-22 15:35:20 -05:00
John Regan 6ce5eb5d58 Adding armhf builds
Additionally, removing the dbg build - it looks like the only difference
between the builds was the existance of strace, and the download is
returning a 404 error.
2016-06-14 22:37:09 -05:00
John Regan e60c9026ec Version bumps 2016-06-13 11:17:06 -05:00
Maxim Ivanov 4ee1f35ab5 New S6_CMD_ARG0 variable to prepend CMD when passed to /init
When migrating an existing image to a s6-overlay, one might
want to prepend CMD with a previously used `ENTRYPOINT`, so that
new image can be as a drop in replacement and no changes
to the way it is used/called are required.
2016-06-12 09:41:37 +01:00
Maxim Ivanov 5d038ae465 Preserve semantic of printcontenv when S6_KEEP_ENV is set 2016-05-25 13:27:16 +01:00
Maxim Ivanov eab9bc7dfe Don't forget to export default PATH 2016-05-25 11:27:17 +01:00
Maxim Ivanov b0ca75114f Add new S6_KEEP_ENV mode
When S6_KEEP_ENV var is set, docker environment is not reset
and whole supervision tree has direct access to it.

One might want to use it if secrets are inejcted by `ENTRYPOINT`
prior to executioning overlays `/init` and company policy
prohibits saving secrets to FS.
2016-05-25 11:19:02 +01:00
Gorka Lerchundi Osa cb0d61538f upgrade to latest overlay which fixes an issue with s6-pause 2016-03-04 18:13:43 +01:00
Gorka Lerchundi Osa 74ec80b67b fix: folder perms incorrectly set if not recursing 2016-02-15 15:04:17 +01:00
Gorka Lerchundi Osa d6afda7d91 don't stop on the first chown whether it failed or succeeded. 2015-12-17 08:44:44 +01:00