mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
feat(app-emulation/docker): cros-workon'ify
Use the symlink and -9999 pattern. This pull from crosbymichael's WIP 0.11.0 release branch but will make it easy to bump once the final release is in.
This commit is contained in:
parent
0758a718b0
commit
e094f65e4d
1
sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.11.0.ebuild
vendored
Symbolic link
1
sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.11.0.ebuild
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
docker-9999.ebuild
|
@ -7,7 +7,11 @@ EAPI=5
|
|||||||
DESCRIPTION="Docker complements kernel namespacing with a high-level API which operates at the process level."
|
DESCRIPTION="Docker complements kernel namespacing with a high-level API which operates at the process level."
|
||||||
HOMEPAGE="https://www.docker.io/"
|
HOMEPAGE="https://www.docker.io/"
|
||||||
|
|
||||||
GITHUB_URI="github.com/dotcloud/docker"
|
CROS_WORKON_PROJECT="crosbymichael/docker"
|
||||||
|
CROS_WORKON_LOCALNAME="docker"
|
||||||
|
CROS_WORKON_REPO="git://github.com"
|
||||||
|
|
||||||
|
GITHUB_URI="github.com/crosbymichael/docker"
|
||||||
|
|
||||||
if [[ ${PV} == *9999 ]]; then
|
if [[ ${PV} == *9999 ]]; then
|
||||||
SRC_URI=""
|
SRC_URI=""
|
||||||
@ -15,13 +19,13 @@ if [[ ${PV} == *9999 ]]; then
|
|||||||
inherit git-2
|
inherit git-2
|
||||||
KEYWORDS=""
|
KEYWORDS=""
|
||||||
else
|
else
|
||||||
SRC_URI="https://${GITHUB_URI}/archive/v${PV}.zip -> ${P}.zip"
|
CROS_WORKON_COMMIT="78e702ab56a54750882cef1838ed74b1a84583a2"
|
||||||
DOCKER_GITCOMMIT="dc9c28f"
|
DOCKER_GITCOMMIT="78e702a"
|
||||||
KEYWORDS="amd64"
|
KEYWORDS="amd64"
|
||||||
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!"
|
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
inherit bash-completion-r1 linux-info systemd udev user
|
inherit bash-completion-r1 linux-info systemd udev user cros-workon
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
Loading…
x
Reference in New Issue
Block a user