summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch
Commit message (Collapse)AuthorAgeFilesLines
* docker-moby: update to 24.0.6Bruce Ashfield2023-09-151-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping moby to version v24.0.6, which comprises the following commits: c35376c455 volume/local: Don't unmount, restore mounted status 5d4cc0b5b5 integration/liveRestore: Check volume content 1d983e2e8a update golangci-lint to v1.54.2 d2e9a19358 CONTRIBUTING.md: update links to golang docs and blog 73f6053bb3 api: swagger: update link to Go documentation de13951b9d docs/api: update links to Go documentation 377af4c9b4 Dockerfile: Windows: update Golang download domains to cut down redirects 088cec8f0f hack: update link to GOPATH documentation ed2f5d1d85 c8d/builder: Don't drop fields from created image 1d10e8633d daemon: Handle NotFound when deleting container lease 63422515ba c8d/run: Allow running container without image 49671250f6 c8d/commit: Don't produce an empty layer b83f5a89f4 Don't return an error if the lease is not found 4ac2355d62 hack: use long SHA for DOCKER_GITCOMMIT ac2a80fcc3 ci(bin-image): clean up metadata 5eef5a7f59 ci(bin-image): clean up env var handling aaf84dd4cf remove Dockerfile.e2e a99e62fa3d distribution: show image schema deprecation on all registries e239799583 distribution: update warning for deprecated image formats bb22b8a418 ci(bin-image): check repo origin fb6784bdf0 gha: set 10-minute timeout on "report" actions 74bf46aea6 c8d/diff: Reuse mount, mount parent as read-only b76a0c7d00 c8d/export: Use ref counted mounter 54953f2f5a integration: Add test for not breaking overlayfs 3897724f4a volume/local: Fix debug log typo 0c131f58ba ci(bin-image): populate DOCKER_GITCOMMIT, take 2 448ae33f87 ci(bin-image): populate DOCKER_GITCOMMIT 3ce0dc7e35 bakefile: Remove default value of DOCKER_GITCOMMIT 600aa7b7a5 c8d/inspect: Ignore manifest with missing config 5d2c383d72 remove s390x and ppc64ls pipelines 15bd07b4fd update runc binary to v1.1.9 cc39fb9f6b Integration test for capabilities bf2b8a05a0 Do not drop effective&permitted set e67f9dadc6 hack/make/.binary: use with-go-mod.sh 314b84b023 hack: enable Go modules when building dockerd and docker-proxy 72947f5022 hack: use Git-free ROOTDIR convention 7e7bc0f1bc vendor: github.com/containerd/containerd v1.6.22 5f0df8c534 vendor github.com/containerd/ttrpc v1.1.2 25b709df48 windows: fix --register-service when executed from within binary directory b7d1e98ae7 libnet/d/bridge: Allow IPv6 ICC from any IP address 749e687e1b integration/windows: Unskip some kill tests 128838227e hack/test: Don't fail-fast before integration-cli b7c5385b81 update to go1.20.7 4cd50eb1ed TestDaemonProxy: use new scanners to check logs a49bca97df Fix daemon proxy test for "reload sanitized" d6536d44e9 TestDaemonProxy: check proxy settings early a6f8e97342 Improve test daemon logging Bumping docker-cli to version v24.0.6, which comprises the following commits: fab55e13c cli/command/system: fix "docker events" not supporting --format=json d3485b9e9 cli/registry: client.iterateEndpoints: remove check for APIVersion1 613380299 cli/registry: fix client.pullManifestList not de-referencing manifest b83959e00 force TestNewHistoryCommandSuccess to use UTC timezone 28a08a22b un-skip history test and fix golden mismatches 8e0393932 update cli-docs-tool to v0.6.0 efd052eb8 docs/reference: run.md: remove stray whitespace d9770a962 adding -c option for docker run/build in manpages 6efe73abe cli/command/manifest: update link to Go documentation d97753101 man: update links to Go documentation e9f843bf0 docs/reference: update links to Go documentation cfbaee468 CONTRIBUTING.md: update links daeee4697 update flag-description for --cgroup-parent 08ad72160 Update docs/command output for volume pruning 3c4fe7b3e docs: add missing docs for "DOCKER_TLS" env-var dc45bcc99 Stop slowing bash init by caching plugins path slowly 710dd00e9 replace dockerfile/dockerignore with patternmatcher/ignorefile bf632329d vendor: github.com/moby/patternmatcher v0.6.0 3c6c0bce1 cli/registry/client: set actions when authn with token 65655cc26 cmd/docker: areFlagsSupported: don't Ping if not needed 11606268f login: Add message about using PATs a8987063b docs: document special host-gateway value for add-host c0e376854 update to go1.20.7 We refresh one patch to adapt to the new build script structure. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-*: prevent -march being exported in arm buildsMartin Jansa2023-02-211-9/+95
| | | | | | | | | | | | | | * don't export CGO_CFLAGS/CGO_CXXFLAGS like the previous version didn't before: https://git.yoctoproject.org/meta-virtualization/commit/?id=aceed7bf95cc8a42c8f470d8edf3c6f03d49da00 * both docker-moby and docker-ce have the same issue as shown with qemuarm build: docker-moby: http://errors.yoctoproject.org/Errors/Details/690021/ docker-ce: http://errors.yoctoproject.org/Errors/Details/690020/ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* moby: update to v23.0.1Bruce Ashfield2023-02-101-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refresh two patches for context in the udpated docker-moby. Bumping moby to version v23.0.1, which comprises the following commits: 4002fa877b vendor: update buildkit to latest v0.10 e697c9365f builder: define GetRemotes for the worker 4c544c3d5f ci: fix branch filter pattern in buildkit workflow 06aca27cc1 ci: enhance tests distribution 001b2e778a ci: update gotestlist to 0.3.1 38b70ebc3b apparmor: Check if apparmor_parser is available 8a5d341d94 [23.0] vendor: github.com/moby/buildkit v0.10.7-0.20230206124303-b8fdb4b78da0 427101f656 libnet/d/ipvlan: gracefully migrate from older dbs 5b7142073f Dockerfile: configure code dir as "safe" directory 7e03250780 graphdriver/overlay2: usingMetacopy ENOTSUP is non-fatal 975bdb2c96 daemon: identify container exits by ProcessID 610250f06e vendor: github.com/containerd/containerd v1.6.16 63a0f1fe09 vendor: github.com/pelletier/go-toml v1.9.5 699e853be3 hack: display build cmd when DOCKER_DEBUG set b7e0725e98 hack: remove unnecessary vars in make.sh script 96746238b2 hack: remove ORIG_BUILDFLAGS var df2fe70049 hack: remove -installsuffix build flag 8b83e09b9c client: improve error messaging on crash 26e9face5a [23.0] update containerd binary to v1.6.16 6641852d51 rootless: support `--ipc=host` 8fc49af4ab hack: check if cross-compiling before setting ARM target name 30134ab177 vendor: github.com/moby/swarmkit/v2 v2.0.0-20230119195359-904c221ac281 3da45c0fe7 fix blockThreshold full bug 941a07b339 ioutils: add regression test for bytespipe deadlock a21381a55a Dockerfile: prefer ld for building against arm64 2616ebc5ac libnetwork: Support IPv6 in arrangeUserFilterRule() 7a5f3f8053 libnetwork: fix empty-lines (revive) 7cfd4b3471 libnetwork/config: rename ParseConfigOptions() to New() 1090c5fd4c libnetwork/config: inline LoadDefaultScopes() c93e1e9e66 libnetwork/config: merge DaemonCfg into Config 031fb72313 libnetwork: remove old integration tests a96a97bf47 libnetwork/config: remove ParseConfig() 9b383dbd51 libnetwork/config: inline ProcessOptions bed115e664 libnetwork/config: remove "Experimental" and "Debug" options 64cbbaa883 Dockerfile: smoke tests for static builds 4100226e27 Dockerfile: use clang to build dockerd/docker-proxy dadeec4205 Disable chrootarchive.init() on Windows f328486cb3 Add GetLibHome stub for non-linux OS 8e83d28f31 vendor: golang.org/x/net v0.5.0 06eb6ab794 vendor: golang.org/x/text v0.6.0 31cf0bf181 vendor: golang.org/x/sys v0.4.0 0e4548bbe1 Dockerfile: fix PKG_CONFIG for xx 8c12a6648b hack: name for target ARM architecture not specified 10c4ada049 hack: typo in displayed platform name 322149038a Add additional loggig in case of error of renaming runtimes-old and removing it a8926de2a1 Handle docker start inside overlayfs 524de97334 daemon/config: inform the user when the input JSON contains invalid UTF-8 0b2eecdc8a daemon/config: support alternate (common) unicode encodings using a BOM abff66b283 daemon/config: clean up tests to use common helper d9bdb61992 cmd/dockerd: use default SIGQUIT behaviour c627132dc8 vendor: github.com/moby/ipvs v1.1.0 13a31b67de vendor: github.com/vishvananda/netns v0.0.2 bd5d9f3190 vendor: github.com/vishvananda/netns v0.0.1 c8262e912f libnetwork: Remove iptables nat rule when hairpin is disabled 12e3398f64 update to go1.19.5 076d57104a docs: api: synchronise versioned API docs (v1.39 - v1.41) 8ce4ae1345 docs: api: synchronise versioned API docs (v1.42) f0fe353ca6 api: swagger: add errorDetail to CreateImageInfo 04371160f8 api: docs: add errorDetail to CreateImageInfo (v1.42) e753cce70f docs: add 401 to possible status codes of /auth 4d7792417e ci: update buildkit to fix integration tests 5802ca9e08 rootless: move ./rootless to ./pkg/rootless 33572e98c1 Use user paths for plugin discovery in rootless mode 52c7a5d96b daemon/config: New(): initialize config with platform-specific defaults 101bd10d0e daemon/config: group JSON preprocessing steps def679d0e0 daemon/config: ignore UTF-8 BOM in config JSON cf8c728f3c graphdriver/btrfs: needs kernel headers >= 4.12, not >= 4.7 e40c2410ca Dockerfile.*: drop libbtrfs 51a65e01ac PACKAGERS: update Btrfs graphdriver dependencies 0cf2b14994 graphdriver/btrfs: use free wrapper consistently 21e6c282e6 graphdriver/btrfs: use kernel UAPI headers 42e7a15a63 graphdriver/btrfs: drop version information 01883e1177 daemon/graphdriver: use strconv instead of fmt.Sprintf 25939ee45e libnetwork: improve logs for DNS failures 691b44b4c3 vendor: github.com/containerd/containerd v1.6.15 5aa0c2cae2 [23.0] update containerd binary to v1.6.15 6acc1701ea integration-cli: Fix hanging TestLogsFollowGoroutines* 8dfd907478 hack: restore copy_binaries func 0d1aba547e hack/make: Don't add -buildmode=pie with -race 4da19e2dca Clear conntrack entries for published UDP ports fe097e018c Fix volume CreatedAt being altered on initialization d778bbab84 docs: contributing docs update for cross comp 2dd577955c Dockerfile: add "all" stage to build binaries and extra tools 3ef71f9085 ci: add extra steps to check artifacts 8fbfc2676f Dockerfile: rename dev stages 7e286efcd3 ci: use GITHUB_REF and GITHUB_SHA to set version and commit f29fe2daec bake: define additional vars 3b90bb6ad3 bake: define DESTDIR 171471b613 hack: update buildmode pie condition 7d8c689923 hack: do not set buildmode pie for statically linked binary 75596bee28 hack: use PKG_CONFIG var when checking libdevmapper 29758a067f IAmStatic not used anymore 5d4ddce5ed hack: remove containerutility script a85bdbe1ca Dockerfile: use TARGETPLATFORM to build Docker 6a0a2c4f79 Always use iptables -C to look for rules 91f2d963c6 Merge iptables.probe() into iptables.detectIptables() 2bf66f725c Check ipt options before looking for ip6t 1b27ab4c73 libnetwork/iptables: Fix test panic when execute only one test 316231cced daemon/graphdriver/devicemapper: simplify Udev log, and update link 770ace39d8 daemon/logger/gcplogs: remove ensureHomeIfIAmStatic workaround 5e4464798f api: can marshal and unmarshal when args.fields is empty 515219b716 Update delve version 0393897695 daemon/graphdriver/btrfs: workaround field rename in btrfs-progs 6.1 7199300239 cmd/docker-proxy: add "-v / --version" flag e9075f70c7 gha: update buildkit to fix integration tests b2d2f012b4 errdefs: FromStatusCode() don't log "FIXME" debug message 9980e64341 vendor: github.com/containerd/containerd v1.6.14 5ebd78d5f8 update containerd binary to v1.6.14 f6c2f20cee Dockerfile: delve cross build with TARGETPLATFORM 3d6908c79b Dockerfile: swagger cross build with TARGETPLATFORM 1dc34e889c Dockerfile: containerutility cross build with TARGETPLATFORM effd7661df Dockerfile: registry cross build with TARGETPLATFORM f3e3266373 Dockerfile: dockercli cross build with TARGETPLATFORM fd6316e631 Dockerfile: rootlesskit cross build with TARGETPLATFORM fbe4db5be0 Dockerfile: tini cross build with TARGETPLATFORM f9a356c7e9 Dockerfile: runc cross build with TARGETPLATFORM 6e7cc3b7e3 Dockerfile: containerd cross build with TARGETPLATFORM 582b29f587 Dockerfile: DOCKER_STATIC arg daa28fcf2d Dockerfile: add dummy stage 4cab584a9c Dockerfile: add cross compilation helper 0b12468116 vendor: github.com/containerd/containerd v1.6.13 6570b654f4 vendor: github.com/Microsoft/hcsshim v0.9.6 d8d11bca37 update containerd binary to v1.6.13 a72fb70eb0 vendor: github.com/moby/swarmkit/v2 v2.0.0-20221215132206-0da442b2780f dca58c654a daemon: drop side effect from registerLinks() 6149c333ff daemon: don't checkpoint container until registered 42bffae5ff daemon: fix GetContainer() returning (nil, nil) a6818fd4cb hack: introduce validate/no-module 45fe08c93c hack: replace go-mod-prepare.sh with wrapper script c508d13372 hack/go-mod-prepare.sh: find root robustly; make steps transparent 036398f512 hack/validate/vendor: clean up license validation step a4957d2585 hack/validate/vendor: split tidy from vendor 394eaa8495 hack/vendor.sh: allow running tidy & vendor separately d80f235c47 vendor: github.com/tinylib/msgp v1.1.6 5ca9231b44 vendor: github.com/philhofer/fwd v1.1.2 ffa2c0b517 image/store: Use errdefs for errors c0c146fc82 Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 6295320d91 use consistent alias for gotest.tools/v3/assert/cmp 1cc1395fae vendor: golang.org/x/net v0.4.0 0163808dbe vendor: github.com/prometheus/client_golang v1.14.0 9b62b83429 vendor: github.com/go-logr/logr v1.2.3 d5ffdeb76c vendor: golang.org/x/crypto v0.2.0 4da8dedaab vendor: golang.org/x/net v0.2.0 b14ffffffd vendor: github.com/opencontainers/runc v1.1.3 173df30ac5 vendor: github.com/klauspost/compress v1.15.12 fe62290eed go.mod: github.com/miekg/dns v1.1.43 4ee3cc2531 vendor: github.com/containerd/containerd v1.6.12 48a0d8a8d1 [23.0] update containerd binary to v1.6.12 (addresses CVE-2022-23471) 4952dc2844 distribution: remove unused RequireSchema2 e7b26fa1b1 use ad-hoc libtrust key f2463e1e86 distribution: use ad-hoc trustkey for tests 139080d093 daemon/config: remove and local trustkey utilities 46e0317bc1 [23.0] remove libtrust tests Bumping libnetwork to version v0.7.0-dev.3-1857-g05b93e0d, which comprises the following commits: f7cdd0e7 Always use iptables -C to look for rules a6106f66 Merge iptables.probe() into iptables.detectIptables() 49bb4902 Check ipt options before looking for ip6t 51413ef1 libnetwork: processEndpointCreate: Fix deadlock between getSvcRecords and processEndpointCreate e460ffec skip TestPortMappingV6Config 64b196bd circleci: update to "next-gen" convenience image 50f192e9 circleci: update to docker 20.10 88744155 update to go1.18.9, gofmt, and regenerate proto 9ed130d8 fix linting issues 5e08bdb1 Revert: Added API to set ephemeral port allocator range 047ac186 Cleanup servicebindings only on Windows 6f36306d Delay network deletion until after lb cleanup a9c349a6 Log HNS policylist removal failures docker-moby/cli: update to 23.0.x 27b19a6ac ci: fix branch filter pattern 14aac2c23 vendor: github.com/docker/docker v23.0.0 0cd15abfd vendor: github.com/containerd/containerd v1.6.16 168f1b55e cli/command/container: exit 126 on EISDIR error 53ed25d9b Fix bad ThrottleDevice path 9e3d5d152 Fix issue where one bad credential helper causes none to be returned 1e3622c50 docs: move doc generation scripts to subdir 9b54d860c rm: allow `docker container remove` as an alias 00070e6e2 docs: add note about MKE CA rotation, which is potentially dangerous 67b961789 manifest: save raw manifest content on download 285e137aa manifest: explicitly error if whitespace reconstruction has failed 070825bc7 manifest: add support for oci image types 551c4e9ab Fix typo in reference doc for docker Signed-off-by: Craig Osterhou <craig.osterhout@docker.com> 8672540f8 vendor: github.com/docker/docker v23.0.0-rc.3 c4fff9da1 vendor: github.com/moby/swarmkit/v2 v2.0.0-20230119195359-904c221ac281 526e5e7c9 vendor: golang.org/x/net v0.5.0 d7f21ea9c vendor: golang.org/x/term v0.4.0 ae43eb0e0 vendor: golang.org/x/text v0.6.0 caf8b152c vendor: golang.org/x/sys v0.4.0 be30cb370 Fix section docker ps --size 5d04b1c49 note `--user` args usage restriction 9bb70217f Add extra newline after additionalHelp output 59e74b44a cli: additionalHelp() don't decorate output if it's piped fc6be6ad3 cli: pass dockerCLI's in/out/err to cobra cmds d347678cd README: fix badges e04f3dd0d docs: fix duplicated format anchor in plugin_ls c453cc687 vendor: github.com/docker/docker v23.0.0-rc.2 0d16330dd vendor: github.com/containerd/containerd v1.6.15 b9e1ad3d1 update to go1.19.5 d1f02a273 deprecated: update deprecation for btrfs on CentOS/RHEL 7 bdc7e37b3 deprecation: mark btrfs driver as deprecated for CentOS 7 and RHEL7 35d7fbc81 docs: inspect: remove trailing whitespace from example 79c9e527a docs: generate markdown 186dcf30b docs: fix anchors c49f1ccb4 update cli-docs-tool to v0.5.1 5a5b7a61d contrib: fix engine logging docs link 4595ce588 cmd: set double quotes as code delimiter 81b051298 docs: fix some more anchors 71e561780 docs: fix anchor links 3613fcc86 docs: deprecated: fix link to Docker Desktop 3.2.0 release notes b81105718 cli/rm_test: Fix TestRemoveForce race condition 42de5cc7f service/logs: use strings.Cut 3fa18636e internal/test: use strings.Cut c8bd8932a cli/config: use strings.Cut 3bed830a2 cli/compose: use strings.Cut cb19bf9f7 cli/command: use strings.Cut acc45f549 cli/command/volume: use strings.Cut 806f9eab6 cli/command/swarm: use strings.Cut b3557b284 cli/command/stack: use strings.Cut 2b06c0c42 cli/command/service: use strings.Cut f29992c0f cli/command/network: use strings.Cut 424401233 cli/command/container: use strings.Cut 6c39bc1f6 opts: use strings.Cut for handling key/value pairs a473c5b38 opts: rename logOptsValidator, fix unhandled errors in tests d84256132 remove redundant conversions and braces 720a6a823 docs/run: Fix url to blog "Docker can now run within Docker" 946bb9471 Missing exec_die event 784f66014 cli/command/container: remove unused NetworkDisabled field 6fe14e61f vendor: github.com/docker/docker v23.0.0-rc.1 (use tag) c5982f373 vendor: github.com/inconshreveable/mousetrap v1.1.0 cc859412c vendor: github.com/docker/docker v23.0.0-beta.1.0.20221221173850-cba986b34090 70d24e854 vendor: github.com/moby/swarmkit/v2 v2.0.0-20221215132206-0da442b2780f bab905a44 vendor: golang.org/x/crypto v0.2.0 929f23fcf vendor: golang.org/x/net v0.4.0 2df9ff91e vendor: golang.org/x/term v0.3.0 1b75c7c52 vendor: golang.org/x/text v0.5.0 e3e0b7a6c vendor: golang.org/x/sys v0.3.0 6f2f021b6 vendor: github.com/prometheus/client_golang v1.14.0 dedbcec46 vendor: github.com/opencontainers/runc v1.1.3 cd2098c46 vendor: github.com/klauspost/compress v1.15.12 d7869bead vendor: github.com/containerd/containerd v1.6.14 06eba426d cmd/docker: fix typo in deprecation warning 895e7a3df Added missing backslash to documentation sites cli snippet 2f733b87f cli/flags: remove outdated TODO 60d62fb72 cmd/docker: improve error message if BUILDKIT_ENABLED=0 e547881e2 Fix ssh process killed when context is done 35b42efad [completion/zsh] add volume completion Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* treewide: bulk update patches with status fieldBruce Ashfield2023-01-271-0/+2
| | | | | | | | | | | | | | | While the insane.bbclass upstream-status check hasn't been made default, users of meta-virtualization may have it enabled in their distros .. so the effect is the same. We must have this tracking tag in out patches. This is a bulk update to add the tag and silence the QA message. As packages get updated, the normal/routine process of checking the patches will continue, and the status fields may (or may not) get more useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker: reproducibility add -trimpath to go -> $GO patchesBruce Ashfield2022-09-131-1/+1
| | | | | | | With this, we build and package docker without QA warnings due to references to TMPDIR. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker: unify common parts of docker-ce and docker-moby recipesBruce Ashfield2021-04-291-0/+23
Now that docker-ce is being built from the same repos as docker-moby, the only unique things in the recipes are the SRCREVs. We move the common packaging, compile/install routines and configuration to the .inc files. We also move the patches to the generic 'files' directory, so they can be shared. If we there are SRCREV bumps in the future that diverge moby and docker, we'll hold patches in their named directorys and tweak the compile/install routines as necessary. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>