Commit Graph

1469 Commits (91cd9b404341736621db1946a718c74123e54fa8)

Author SHA1 Message Date
Tõnis Tiigi 91cd9b4043
Merge pull request #708 from AkihiroSuda/cli-no-cache
buildctl: support --no-cache for Dockerfile frontend
2018-10-30 10:51:12 -07:00
Akihiro Suda 7d92f2d6ad buildctl: support --no-cache for Dockerfile frontend
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-10-30 17:49:36 +09:00
Tõnis Tiigi 85935a3d1e
Merge pull request #661 from tiborvass/dockerfile-shell-only-envvar
dockerfile: RUN's CustomName no longer consume quotes and only replaces environment variables if set
2018-10-29 11:04:07 -07:00
Tõnis Tiigi 388c0f916f
Merge pull request #703 from AkihiroSuda/unfork-newuidmap
unfork newuidmap/newgidmap
2018-10-29 11:03:30 -07:00
Akihiro Suda 3a7209cde2 unfork newuidmap/newgidmap
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-10-29 16:01:04 +09:00
Tibor Vass c168fad47f
Merge pull request #700 from tonistiigi/dockerfile-daily
dockerfile: add daily feature releases
2018-10-24 14:54:14 -07:00
Tonis Tiigi 134e126aab dockerfile: add daily feature releases
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-23 22:43:21 -07:00
Tõnis Tiigi 50b36877f5
Merge pull request #695 from tonistiigi/dockerfile-release
dockerfile: add release tag deployments
2018-10-22 17:41:12 -07:00
Akihiro Suda 24fff5048c
Merge pull request #697 from tonistiigi/copy-net-none
dockerfile: disable network for copy
2018-10-23 09:38:51 +09:00
Tonis Tiigi 945e100a8c dockerfile: disable network for copy
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-22 13:23:10 -07:00
Tõnis Tiigi 54cf2b136d
Merge pull request #694 from ijc/apply-config-to-state
client/llb: factor out `State.WithConfig` from `Image`.
2018-10-18 13:26:16 -07:00
Ian Campbell f9a436599a client/llb: factor out `State.WithImageConfig` from `Image`.
Currently if a caller wants an `Image` (with config applied) and the
corresponding config (e.g. to use a base image and tailor the config to return
as `exptypes.ExporterImageConfigKey` in the build result) then they have to
`ResolveImageConfig` and then `llb.Image(..., llb.WithMetaResolver)`, which
ends up resolving the config twice.

Pulling this code out allows them to instead to the `config := ResolveImageConfig()`
once and to then do `llb.Image(...).WithImageConfig(config)`.

This is only really necessary if you want to run things in the image context
(and thus want the config applied) as part of tailoring the config before
returning the image and config. If you aren't running things on that `Image` as
part of the build then it doesn't matter if the config isn't applied to the
`Image` and `ResolveImageConfig` + `Image(...)` (without a metaresolver) is
fine.

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-10-18 10:06:00 +01:00
Tonis Tiigi 918ee1988a dockerfile: add release tag deployments
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-17 14:11:09 -07:00
Tibor Vass 42deaf5d92
Merge pull request #692 from tonistiigi/dockerfile-master
dockerfile: setup master release deployment
2018-10-17 12:56:12 -07:00
Tonis Tiigi 4c3050a26c dockerfile: setup master release deployment
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-16 21:01:33 -07:00
Akihiro Suda 867bcd343f
Merge pull request #693 from tonistiigi/containerd-debug-sock
testutil: use different containerd debug sock
2018-10-17 12:57:35 +09:00
Tonis Tiigi 88c81ee6d5 testutil: use different containerd debug sock
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-16 19:46:31 -07:00
Tõnis Tiigi 6a3e7dd030
Merge pull request #690 from AkihiroSuda/fix-rootless-base-external
test.buildkit.Dockerfile: fix rootless-base-external
2018-10-16 10:02:09 -07:00
Akihiro Suda d4a617b695 test.buildkit.Dockerfile: fix rootless-base-external
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-10-17 01:21:16 +09:00
Akihiro Suda 0d80bd17a3
Merge pull request #687 from tonistiigi/dockerfile-testing
dockerfile: add testing external dockerfile features
2018-10-16 15:58:55 +09:00
Akihiro Suda 7a4dc7c59e
Merge pull request #686 from AkihiroSuda/use-giuseppe-newuidmap
rootless: use Giuseppe's newuidmap/newgidmap
2018-10-16 15:58:43 +09:00
Akihiro Suda ed64652d71 rootless: use Giuseppe's newuidmap/newgidmap
Apply https://github.com/shadow-maint/shadow/pull/132 so that newuidmap/newgidmap
doesn't require CAP_SYS_ADMIN

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-10-16 15:11:05 +09:00
Tõnis Tiigi 3b39709adf
Merge pull request #689 from AkihiroSuda/update-rootless-20181016
simplify rootless
2018-10-15 22:31:23 -07:00
Tonis Tiigi 2f8f0194c2 hack: remove musl dependency
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-15 22:27:13 -07:00
Tonis Tiigi b15990f799 hack: add better caching
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-15 22:27:13 -07:00
Tonis Tiigi 12513ba394 dockerfile: remove dfextall build tag
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-15 22:27:13 -07:00
Tonis Tiigi 74754d6a6a dockerfile: add example mount test
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-15 22:27:13 -07:00
Tonis Tiigi 1be3e43527 testutil: add testing a random worker
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-15 22:27:13 -07:00
Tonis Tiigi 706fa2556a dockerfile: add testing external dockerfile features
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-15 22:27:07 -07:00
Akihiro Suda 048130d1d0 simplify rootless
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-10-16 14:05:58 +09:00
Akihiro Suda 8db1defa00
Merge pull request #683 from tonistiigi/update-containerd
vendor: update containerd to v1.2.0-rc.1
2018-10-16 12:34:32 +09:00
Tõnis Tiigi abdbc66b23
Merge pull request #688 from tonistiigi/test-empty-dest
dockerfile: add test for empty copy directory
2018-10-15 20:29:03 -07:00
Tonis Tiigi 94a6c5c79d dockerfile: add test for empty copy directory
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-15 16:43:21 -07:00
Tonis Tiigi fb9e2c1030 vendor: update containerd to v1.2.0-rc.1
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-12 15:27:54 -07:00
Tibor Vass c8f1541b0b
Merge pull request #682 from tonistiigi/update-fsutil
vendor: update fsutil to 2862f6bc
2018-10-12 10:39:28 -07:00
Tõnis Tiigi 8c361c720d
Merge pull request #681 from tonistiigi/buildkitd-parallel
testutil: avoid excessive daemons in integration tests
2018-10-12 10:12:38 -07:00
Akihiro Suda 663f185a07
Merge pull request #676 from tonistiigi/dockerfile-release
hack: add release script
2018-10-12 10:19:25 +09:00
Tonis Tiigi a8f4bf22d3 vendor: update fsutil to 2862f6bc
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-11 17:02:38 -07:00
Tonis Tiigi 1f51f5ea11 testutil: avoid excessive daemons in integration tests
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-11 16:47:35 -07:00
Tonis Tiigi 72ea6e2cff travis: update repo names to config
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-11 14:04:11 -07:00
Tonis Tiigi 9da7b50195 cmd: fix app version reporting
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-11 13:46:40 -07:00
Tibor Vass c7bb575343
Merge pull request #680 from tonistiigi/empty-dest
dockerfile: fix empty dest directory panic
2018-10-11 12:41:01 -07:00
Tonis Tiigi fb5324c609 hack: add tarball release
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-11 11:57:27 -07:00
Tonis Tiigi af8b839283 dockerfile: fix empty dest directory panic
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-11 11:24:02 -07:00
Tonis Tiigi 106834d708 hack: add git to rootless stage
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-11 10:23:15 -07:00
Tonis Tiigi a74027cb41 hack: add release script
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-11 10:23:15 -07:00
Akihiro Suda 5d8be2c4c0
Merge pull request #666 from tonistiigi/dockerfile-update
hack: update test dockerfiles to buildkit
2018-10-11 18:15:49 +09:00
Tonis Tiigi 43bd294446 integration: add setsid for sigterm
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-10 23:26:36 -07:00
Tonis Tiigi ddfb7f77c9 hack: update test dockerfiles to buildkit
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-10 23:26:05 -07:00
Akihiro Suda c4dbe26859
Merge pull request #672 from tonistiigi/fix-uncompressed-label
fix setting uncompressed label on content
2018-10-11 14:59:43 +09:00