Avi Deitcher
7a129b6e8d
bump golangci-lint to v2.0.2 and update all lint issues ( #4116 )
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-04-09 17:53:20 +03:00
Avi Deitcher
76b519705b
Add alpine bcc tools ( #4105 )
...
* Update linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
* tools/alpine: Update to latest
Signed-off-by: Avi Deitcher <avi@deitcher.net>
* tools: Update to the latest linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
* Update use of tools to latest
Signed-off-by: Avi Deitcher <avi@deitcher.net>
* tests: Update packages to the latest linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
* Update use of test packages to latest
Signed-off-by: Avi Deitcher <avi@deitcher.net>
* pkgs: Update packages to the latest linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
* Update package tags
Signed-off-by: Avi Deitcher <avi@deitcher.net>
---------
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-02-17 11:12:49 +02:00
Avi Deitcher
084e2a08bc
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-01-15 14:58:59 +02:00
Avi Deitcher
a7baaaa4cc
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-01-10 10:56:03 +02:00
Avi Deitcher
48f5de7595
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-01-08 20:53:40 +02:00
Avi Deitcher
bd30821cbf
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-01-07 18:44:48 +02:00
Avi Deitcher
7977310c52
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 20:51:04 +02:00
Avi Deitcher
d9027d543d
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 15:30:18 +02:00
Avi Deitcher
a538a1efcf
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 10:53:56 +02:00
Avi Deitcher
6db6bc84aa
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-27 22:26:58 +02:00
Avi Deitcher
bc1a7d60df
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-27 21:09:30 +02:00
Avi Deitcher
22cc9343b4
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-25 23:20:43 +02:00
Avi Deitcher
c51ce2551e
use latest go-compile ( #3906 )
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2023-02-01 10:38:01 +02:00
Avi Deitcher
e668b25a82
Alpine 317 ( #3888 )
2023-01-05 07:26:50 +02:00
Avi Deitcher
0e69ea8f5d
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-11-07 16:39:16 +02:00
Avi Deitcher
d091f90f81
pass linkmode=external only for Linux
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-04-29 16:52:44 +03:00
Avi Deitcher
1270e27ba6
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-04-27 19:14:22 +03:00
Rolf Neugebauer
765e5f0b88
gp-compile: Use '-mod=vendor' when using go modules
...
fixes https://github.com/linuxkit/linuxkit/issues/3599
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-04-02 18:45:38 +01:00
Rolf Neugebauer
3eb9a75f9e
tools/go-compile: Workaround for go requiring gcc on arm64
...
See: https://github.com/linuxkit/linuxkit/issues/3496
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-17 10:36:03 +01:00
Rolf Neugebauer
45dcbc38af
tools: Update to the latest linuxkit/alpine
...
with the exception of grub. It does not compile
with the latest version, see: https://github.com/linuxkit/linuxkit/issues/3494
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-17 10:36:03 +01:00
Rolf Neugebauer
2320529f3d
alpine/go-compile: Fix go-compile
...
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-17 10:36:03 +01:00
Rolf Neugebauer
94bfb97ba3
tools: Update to the latest linuxkit/alpine
...
Skip tools/grub as this still requires alpine 3.8
to build
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-04-16 22:53:26 +01:00
Rolf Neugebauer
4f715f5f2a
tools: Update to the latest linuxkit/alpine
...
Skip the packages which use grub to boot EFI images.
The grub build fails, see:
https://github.com/linuxkit/linuxkit/issues/3295
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-03-02 19:06:59 +00:00
Rolf Neugebauer
768593b951
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2018-07-26 19:22:42 +01:00
Rolf Neugebauer
cd4d50920a
tools: Update to latest alpine base
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-07-10 14:59:45 +01:00
Rolf Neugebauer
48ca3f1302
tools: Update to latest alpine base
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@gmail.com>
2018-07-07 13:27:48 +01:00
Rolf Neugebauer
d9c3e3fce2
tools: Update to latest alpine base
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@gmail.com>
2018-05-12 12:10:32 +01:00
Rolf Neugebauer
39b9ac9b7f
tools: Update tools to the latest alpine base image
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-04-05 10:49:00 +01:00
Rolf Neugebauer
61727d3b50
tools: Update to the latest alpine base image
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-03-13 14:39:57 +00:00
Rolf Neugebauer
965d013f7f
tools: Update to the latest linuxkit/alpine
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-01-25 12:59:21 +00:00
Rolf Neugebauer
5fd1fa3663
tools: Update to the alpine:3.7 derived base image
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-12-08 16:25:13 +00:00
Ian Campbell
6c7b1c0251
Bump all packages to newest alpine.
...
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-10-24 10:11:24 +01:00
Ian Campbell
02bd90393f
go-compile: Bump to new alpine (with go1.9)
...
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-10-12 16:36:18 +01:00
Ian Campbell
a237b51511
Bump alpine base across the board.
...
By running:
./scripts/update-component-sha.sh --image linuxkit/alpine ad35b6ddbc70faa07e59a9d7dee7707c08122e8d
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-10-10 09:55:45 +01:00
Ian Campbell
624e7c82f1
Convert most of tools/* to linuxkit pkg build
...
tools/alpine and tools/guestfs are omitted since they do not currently use
pkg/package.mk and do their own thing. Slightly hacky arrangements are made for
these. Note that previously they were only recursed into for their default
target (push) and that behaviour is retained.
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-10-09 16:20:25 +01:00
Rolf Neugebauer
6adde26d62
tools/go-compile: Convert to multi-arch
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-03 17:36:22 +01:00
Ian Campbell
a24819f2e5
Update to latest alpine base for go-compile
...
I noticed that running the runes in docs/vendoring.md made a bunch of files
which are omitted by modern vndr come back, presumably due to the old version
of vndr referenced there. So update the go-compile package to the current
version everywhere.
Also correct the use of `make` variable syntax (`$(PWD)`) where shell syntax
command substitution for `pwd` was desired.
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-07-19 14:40:24 +01:00
Dennis Chen
4cdff71e05
tools: Fix the order sequence issue in Makefile
...
tools/qemu and toos/go-compile define the IMAGE after the
package.mk, which result in below error if 'make ORG=other_org':
...
invalid argument "other_org/:2c6d9e1d9c52167f4f2b7a8fd235eda318175c99"for t: invalid reference format
See 'docker build --help'.
../../pkg/package.mk:47: recipe for target 'tag' failed
make: *** [tag] Error 125
This because '../../pkg/package.mk' need to use IMAGE variable first.
Signed-off-by: Dennis Chen <dennis.chen@arm.com>
2017-07-17 07:03:27 +00:00
Ian Campbell
7534d4c926
tool/go-compile: Use common pkg/package.mk to drive Makefile
...
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-07-03 10:27:31 +01:00
Rolf Neugebauer
699a864302
pkg: Update to new Alpine base
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-07-01 18:11:45 +01:00
Rolf Neugebauer
0d718fed40
tools: Use the Alpine base to build the go-compile image
...
Also, convert to use a git tree hash.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-05-30 17:15:13 +01:00
Justin Cormack
fc69bcf288
Partially fix Windows build with go-compile
...
Fix go-compile to not use buildmode pie for Windows.
See #1863
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-20 10:57:48 +01:00
Riyaz Faizullabhoy
2c4c55859f
Add separate sign-tag target, keep tool building offline
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-27 10:34:40 -07:00
Riyaz Faizullabhoy
72e7945ec6
Add signing targets for binfmt, c-compile, go-compile, rngd, tini, toybox-media
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-26 10:55:20 -07:00
Justin Cormack
252e32aac5
Remove the moby tool from this repo
...
Updated go-compile to be able to compile remotely. Note I
did not update the oter users of go-compile as it does not affect
them.
Update `go get` instructions to fetch new one, or `make && make install`
will still work.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-25 14:53:32 +01:00
Riyaz Faizullabhoy
31a8480878
Add ineffassign to go-compile, use tmp files to ensure proper failure
...
handling
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-12 14:42:19 -07:00
Rolf Neugebauer
d14d462910
tools: Rename hub org to linuxkit
...
Rename various mention of moby while at it
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 21:28:17 +01:00
Dave Tucker
00edddac9a
Add vndr to go-compile and add vendoring docs
...
This makes it easier to safely udpate the vendor directory
Signed-off-by: Dave Tucker <dt@docker.com>
2017-04-11 13:35:51 +01:00
Rolf Neugebauer
f76f2b6654
tools: Add --ldflags to go-compile
...
This flags allows passing additional ldflags to the build.
It is primarily there to pass -C arguments to specify values
of variables at compile time.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-06 10:55:18 +01:00
Justin Cormack
154c3516b2
Strip Go files to make them a bit smaller
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-09 15:30:15 +00:00