- show errors by outputting stderr
- as no input is wired up, fails as requests a tty, so don't do that
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This now supports setting `source:` in the `files` section to read the contents of
a file rather than specifying it inline.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
- use new Makefile flags to add our build flags correctly now
- restore `dist` for now as it is useful for testing still, for now
Will remove both `dist` and `ctr` once we have our own tool, but will add
them to dev container instead.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
The actual code was removed in 4751d70b18 but
vendor.conf was not updated. Current version of vndr complains:
2017/05/18 21:18:03 WARNING: package github.com/docker/distribution is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/docker/engine-api is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/docker/go-connections is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/docker/go-units is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/opencontainers/runtime-spec is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/pkg/errors is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/xeipuuv/gojsonpointer is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/xeipuuv/gojsonreference is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/xeipuuv/gojsonschema is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package gopkg.in/yaml.v2 is unused, consider removing it from vendor.conf
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
Otherwise escape codes (arrow keys etc) do not work.
This is done only when stdin is a tty.
For clarity spell `--tty-` and `--interactive` out in full rather than using
the short versions.
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
This makes the package slightly bigger as tini from Alpine
is not statically linked but removes the dependency on
./tools/tini
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
Also convert it to a multi-stage build and make
the HUB org/registry build time configurable.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
Also convert to a multi-stage build and make the
make the HUB org/registry build time configurable.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
The dhcpcd package only needs a basic alpine-baselayout and
dhcpcd. This reduces the size of the package from 4.3MB to 1.8MB.
Also make the HUB org/registry build time configurable.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
We only need the alpine-baselayout packe to run init. This also
removes the sha256 import from alpine:edge.
This also reduces the size of the init package by more than
50% to just 1.5MB.
Also make the HUB org/registry build time configurable.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
Also make the HUB org/registry build time configurable
for these packages.
Others will be reworked in sub sequent commits.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
The added packages are necessary to create a base Alpine
container image and for converting more packages.
Update the versions file to the latest versions
Also make the HUB org/registry build time configurable.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>