mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 06:51:26 +02:00
app-torcx/docker: package Docker for torcx
This commit is contained in:
parent
721e8b74b3
commit
4c0f8a4a9f
26
sdk_container/src/third_party/coreos-overlay/app-torcx/docker/docker-1.12.ebuild
vendored
Normal file
26
sdk_container/src/third_party/coreos-overlay/app-torcx/docker/docker-1.12.ebuild
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
# Copyright (c) 2017 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="Packages to be installed in a torcx image for Docker"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64"
|
||||
|
||||
# Explicitly list all packages that will be built into the image.
|
||||
RDEPEND="
|
||||
=app-emulation/docker-1.12.6-r5
|
||||
=app-emulation/containerd-0.2.5-r2
|
||||
=app-emulation/runc-1.0.0_rc2_p9
|
||||
"
|
||||
|
||||
src_install() {
|
||||
insinto /.torcx
|
||||
newins "${FILESDIR}/${PN}-${PV}-manifest.json" manifest.json
|
||||
|
||||
# Enable the Docker socket by default.
|
||||
local unitdir=/usr/lib/systemd/system
|
||||
dosym ../docker.socket "${unitdir}/sockets.target.wants/docker.socket"
|
||||
}
|
28
sdk_container/src/third_party/coreos-overlay/app-torcx/docker/docker-17.05.ebuild
vendored
Normal file
28
sdk_container/src/third_party/coreos-overlay/app-torcx/docker/docker-17.05.ebuild
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
# Copyright (c) 2017 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="Packages to be installed in a torcx image for Docker"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64"
|
||||
|
||||
# Explicitly list all packages that will be built into the image.
|
||||
RDEPEND="
|
||||
=app-emulation/docker-17.05.0
|
||||
=app-emulation/containerd-0.2.7_p2
|
||||
=app-emulation/docker-proxy-0.8.0_p20170410
|
||||
=app-emulation/runc-1.0.0_rc2_p137
|
||||
=sys-process/tini-0.13.2
|
||||
"
|
||||
|
||||
src_install() {
|
||||
insinto /.torcx
|
||||
newins "${FILESDIR}/${PN}-${PV}-manifest.json" manifest.json
|
||||
|
||||
# Enable the Docker socket by default.
|
||||
local unitdir=/usr/lib/systemd/system
|
||||
dosym ../docker.socket "${unitdir}/sockets.target.wants/docker.socket"
|
||||
}
|
27
sdk_container/src/third_party/coreos-overlay/app-torcx/docker/files/docker-1.12-manifest.json
vendored
Normal file
27
sdk_container/src/third_party/coreos-overlay/app-torcx/docker/files/docker-1.12-manifest.json
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"kind": "image-manifest-v0",
|
||||
"value": {
|
||||
"bin": [
|
||||
"/bin/containerd",
|
||||
"/bin/containerd-shim",
|
||||
"/bin/ctr",
|
||||
"/bin/docker",
|
||||
"/bin/docker-containerd",
|
||||
"/bin/docker-containerd-shim",
|
||||
"/bin/docker-proxy",
|
||||
"/bin/docker-runc",
|
||||
"/bin/dockerd",
|
||||
"/bin/runc"
|
||||
],
|
||||
"network": [
|
||||
"/lib/systemd/network/50-docker.network",
|
||||
"/lib/systemd/network/90-docker-veth.network"
|
||||
],
|
||||
"units": [
|
||||
"/lib/systemd/system/containerd.service",
|
||||
"/lib/systemd/system/docker.service",
|
||||
"/lib/systemd/system/docker.socket",
|
||||
"/lib/systemd/system/sockets.target.wants"
|
||||
]
|
||||
}
|
||||
}
|
29
sdk_container/src/third_party/coreos-overlay/app-torcx/docker/files/docker-17.05-manifest.json
vendored
Normal file
29
sdk_container/src/third_party/coreos-overlay/app-torcx/docker/files/docker-17.05-manifest.json
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"kind": "image-manifest-v0",
|
||||
"value": {
|
||||
"bin": [
|
||||
"/bin/containerd",
|
||||
"/bin/containerd-shim",
|
||||
"/bin/ctr",
|
||||
"/bin/docker",
|
||||
"/bin/docker-containerd",
|
||||
"/bin/docker-containerd-shim",
|
||||
"/bin/docker-init",
|
||||
"/bin/docker-proxy",
|
||||
"/bin/docker-runc",
|
||||
"/bin/dockerd",
|
||||
"/bin/runc",
|
||||
"/bin/tini"
|
||||
],
|
||||
"network": [
|
||||
"/lib/systemd/network/50-docker.network",
|
||||
"/lib/systemd/network/90-docker-veth.network"
|
||||
],
|
||||
"units": [
|
||||
"/lib/systemd/system/containerd.service",
|
||||
"/lib/systemd/system/docker.service",
|
||||
"/lib/systemd/system/docker.socket",
|
||||
"/lib/systemd/system/sockets.target.wants"
|
||||
]
|
||||
}
|
||||
}
|
@ -21,6 +21,7 @@ app-pda
|
||||
app-portage
|
||||
app-shells
|
||||
app-text
|
||||
app-torcx
|
||||
app-vim
|
||||
app-xemacs
|
||||
chromeos-base
|
||||
|
Loading…
x
Reference in New Issue
Block a user