Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
s6-overlay-lite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
docker
s6-overlay-lite
Commits
7941b04b
Commit
7941b04b
authored
2 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Add note on usage
parent
c990af42
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+16
-1
16 additions, 1 deletion
README.md
with
16 additions
and
1 deletion
README.md
+
16
−
1
View file @
7941b04b
...
...
@@ -14,6 +14,8 @@ should log to stdout/stderr).
The only real requirement is a
*/run*
tmpfs directory mounted with the
*exec*
flag.
## Configuration
The init sequence works as follows:
*
First, scripts in
*/etc/cont-init.d*
are executed, in order. If any
...
...
@@ -53,7 +55,7 @@ fi
exec
foo
```
##
#
Build system
## Build system
The toolchain and build system is lifted straight from s6-overlay so
it maintains some of the same properties (e.g. statically linked, can
...
...
@@ -69,3 +71,16 @@ However instead of preparing tar.xz files for distribution, we
actually build a container image (based on Debian), and merge our
*layout*
directory at that stage. The whole build process is handled
by the multi-stage Dockerfile.
## Usage
You can use the container image built by the CI for this repository as
a base image for your own. E.g., in a Dockerfile:
```
FROM registry.git.autistici.org/ai3/docker/s6-overlay-lite:master
...
```
The ENTRYPOINT is set to
*/init*
by the base image and should not be
modified.
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