forked from moby/buildkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: liulanzheng <[email protected]>
- Loading branch information
1 parent
34588b4
commit cc88587
Showing
3 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[Unit] | ||
Description=buildkit-overlaybd service | ||
After=network.target local-fs.target | ||
Before=shutdown.target | ||
DefaultDependencies=no | ||
Conflicts=shutdown.target | ||
|
||
[Service] | ||
LimitNOFILE=1048576 | ||
LimitCORE=infinity | ||
Type=simple | ||
ExecStartPre=overlay | ||
ExecStart=/usr/bin/buildkit --oci-worker-snapshotter=overlaybd --oci-worker-proxy-snapshotter-path=/run/overlaybd-snapshotter/overlaybd.sock | ||
|
||
GuessMainPID=no | ||
Restart=always | ||
RestartSec=1s | ||
KillMode=process | ||
OOMScoreAdjust=-999 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# nfpm example config file | ||
# | ||
# check https://nfpm.goreleaser.com/configuration for detailed usage | ||
# | ||
name: "buildkit-overlaybd" | ||
arch: amd64 | ||
platform: linux | ||
version: 0.1.0 | ||
release: 1 | ||
section: "default" | ||
priority: "extra" | ||
|
||
maintainer: "overlaybd authors" | ||
description: | | ||
Buildkit for Overlaybd | ||
vendor: "overlaybd" | ||
homepage: "https://github.com/data-accelerator/buildkit" | ||
license: "Apache-2.0" | ||
contents: | ||
- src: ./bin/build/* | ||
dst: /usr/bin/ | ||
- src: ./dadi-gen | ||
dst: /usr/bin/dadi-gen | ||
- src: ./buildkit-overlaybd.service | ||
dst: /opt/overlaybd/buildkit-overlaybd.service | ||
type: config | ||
overrides: | ||
rpm: | ||
scripts: | ||
deb: | ||
scripts: |