From 1314e42d841369960c34bbb3ecfc4f8da18dd616 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Tue, 20 Jun 2017 14:12:18 -0700 Subject: [PATCH] Adds operating instructions Signed-off-by: Eli Uriegas Upstream-commit: a1a29c1440d5396d2a1be4e933472188554ad61f Component: packaging --- components/packaging/deb/README.md | 20 ++++++++++++++++++++ components/packaging/rpm/README.md | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 components/packaging/deb/README.md create mode 100644 components/packaging/rpm/README.md diff --git a/components/packaging/deb/README.md b/components/packaging/deb/README.md new file mode 100644 index 0000000000..22ffda3f39 --- /dev/null +++ b/components/packaging/deb/README.md @@ -0,0 +1,20 @@ +# Building your own Docker deb package + +`.deb` packages can be built from this directory with the following syntax + +```shell +make ENGINE_DIR=/path/to/engine CLI_DIR=/path/to/cli deb +``` + +If you want to specify a specific distro: + +```shell +make ENGINE_DIR=/path/to/engine CLI_DIR=/path/to/cli ubuntu +``` + +If you want to specify a specific distro version: + +```shell +make ENGINE_DIR=/path/to/engine CLI_DIR=/path/to/cli ubuntu-xenial +``` + diff --git a/components/packaging/rpm/README.md b/components/packaging/rpm/README.md new file mode 100644 index 0000000000..57bc8de481 --- /dev/null +++ b/components/packaging/rpm/README.md @@ -0,0 +1,20 @@ +# Building your own Docker rpm package + +`.rpm` packages can be built from this directory with the following syntax + +```shell +make ENGINE_DIR=/path/to/engine CLI_DIR=/path/to/cli rpm +``` + +If you want to specify a specific distro: + +```shell +make ENGINE_DIR=/path/to/engine CLI_DIR=/path/to/cli fedora +``` + +If you want to specify a specific distro version: + +```shell +make ENGINE_DIR=/path/to/engine CLI_DIR=/path/to/cli fedora-25 +``` +