-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split docker cli into separate package, deb packaging #128
Conversation
This splits out the CLI into a discrete package and removes the engine from the engine package. Instead the engine is initialized via a post-inst script using the new CLI UX.
254abb2
to
662e248
Compare
# TODO Needs upgrade vs. install logic handling here | ||
if ctr --namespace docker container info dockerd 2&>1 > /dev/null ; then | ||
docker engine init | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This script is far too naive for the final product, but should be enough to get us bootstrapped.
Updated the PR title to reflect this phase of the package restructuring Bits that are included in the new `docker-ce-cli` package
Bits that are included in the new `docker-ce` package
|
Priority: optional | ||
Maintainer: Docker <[email protected]> | ||
Standards-Version: 3.9.6 | ||
Homepage: https://dockerproject.org |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should change this to https://docker.com
@@ -10,41 +10,21 @@ override_dh_gencontrol: | |||
dh_gencontrol | |||
|
|||
override_dh_auto_build: | |||
cd engine && ./hack/make.sh dynbinary | |||
cd /go/src/github.com/docker/cli && LDFLAGS='' make VERSION=$(VERSION) GITCOMMIT=$(DOCKER_GITCOMMIT) dynbinary manpages | |||
|
|||
override_dh_auto_test: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could probably just remove this target altogether.
|
||
override_dh_install: | ||
dh_install | ||
# TODO Can we do this from within our container? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
possibly, but I think it'd have to be done in the postinst instead.
Can confirm that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Comments covered in #130 |
It seems this PR also removes |
This splits out the CLI into a discrete package and removes
the engine from the engine package. Instead the engine
is initialized via a post-inst script using the new CLI UX.
Currently relies on docker/cli#1260