aboutsummaryrefslogtreecommitdiffstats
path: root/tools/docker
Commit message (Collapse)AuthorAgeFilesLines
* docker: make clang-kmsan hermeticAlexander Potapenko2022-02-112-5/+6
| | | | | The existing build lacked some headers, which prevented us from being able to configure newer kernels.
* tools/docker: download custom clang to build KMSANAlexander Potapenko2022-01-272-0/+11
| | | | | | Until KMSAN compiler API is finalized, we often need to use ToT Clang to build the kernel. Download the latest compiler build from GS, and put it under /syzkaller/clang-kmsan.
* tools/docker/old-env: update to Go 1.16Dmitry Vyukov2022-01-191-1/+1
| | | | | | | Our policy is to support 2 latest releases of Go. Currently this is Go 1.16 and 1.17. So update the old-env to the oldest release. This will allow us to use lots of goodness available in the latest versions.
* tools/docker: update clang to version 12Dmitry Vyukov2022-01-191-4/+4
| | | | | | Clang 12 is the latest version supported for Ubuntu 12.04. Update to this version. There is no pressing need, but clang 10 is quite old, so update to the latest version.
* tools/docker/old-env: don't use --allow-releaseinfo-changeDmitry Vyukov2022-01-191-2/+2
| | | | | | | | | | | | This flag is needed for Bullseye that we use in env/syzbot containers. I proactively added it to old-env as well assuming it's version-independent flag. But Ubuntu 16.04 does not like this flag: E: Command line option --allow-releaseinfo-change is not understood in combination with the other options The command '/bin/sh -c apt-get update --allow-releaseinfo-change' returned a non-zero code: 100 Remove it from old-env.
* Makefile: don't test dashboard/app build with Go 1.12Dmitry Vyukov2022-01-191-8/+0
| | | | | We've switched to Go 1.16 toolchain for dashboard/app, so don't need to test build with Go 1.11/12 anymore.
* tools/docker/syzbot: switch to Go 1.17Dmitry Vyukov2021-12-211-1/+4
| | | | | | Currently we use the default distro Go, which is 1.15 in Bullseye. Switch to 1.17 which has register-based calling convention and is significantly faster.
* tools/docker: switch from buster to bullseyeDmitry Vyukov2021-10-132-12/+17
| | | | | | The gcc 8 and clang 7 provided by buster are too old to build kernel. Gcc 8 does not support MTE anymore and clang 7 is plain unsupported. Update to bullseye which provides gcc 10 and clang 11.
* tools/docker/big-env: install clang-14Dmitry Vyukov2021-10-051-0/+11
| | | | | | Debian Buster provides only clang-7 which is quite old, in particular it does not detect some warnings that later fire on OpenBSD. Install clang-14 from https://apt.llvm.org.
* tools/docker/big-env: install Go 1.12Dmitry Vyukov2021-09-301-0/+8
|
* tools/docker: use apt-get update --allow-releaseinfo-changeDmitry Vyukov2021-09-304-6/+6
| | | | | | | | | Without this flag I am getting: D: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable' Error: Process completed with exit code 100.
* tools/docker/syzbot: install bazel from the official bazel repoAndrei Vagin2021-08-161-2/+9
| | | | | | | The debian repo contains an old version and it can't build gVisor: external/rules_pkg/private/pkg_files.bzl:315:12: name 'json' is not defined Signed-off-by: Andrei Vagin <avagin@google.com>
* tools/docker/syzbot: add fake GRTE pythonDmitry Vyukov2021-06-091-0/+3
| | | | | Not really GRTE, but it's enough to run some scripts that hardcode the path.
* tools/docker/env: switch to Go 1.16Dmitry Vyukov2021-02-201-1/+1
| | | | Update #2446
* tools/docker/syzbot: add cpioDmitry Vyukov2021-02-011-1/+1
| | | | | | It's used by kernel/gen_kheaders.sh. Update #2096
* tools/docker/syzbot: include ccacheDmitry Vyukov2021-01-291-1/+1
| | | | Update #2096
* tools/docker/syzbot: remove grub packagesDmitry Vyukov2021-01-291-3/+1
| | | | | Don't install grub packages, grub is not working inside of containers. Add psmisc for ps.
* tools/docker: add libc6-dev-i386-amd64-cross to syzbot imageDmitry Vyukov2021-01-261-2/+3
| | | | | | A new image required to build i386 executables in bullseye. We also need syzkaller user for sandboxing. And EDITOR is not necessary as the container is not used interactively.
* tools/docker: add image for syzbot machinesDmitry Vyukov2021-01-261-0/+34
|
* .github/workflows: switch fuzzit to syz-old-envDmitry Vyukov2020-10-271-4/+12
| | | | | | Use syz-old-env because it contains Go 1.14. syz-env contains Go 1.15 and go-fuzz is broken with Go 1.15: https://github.com/dvyukov/go-fuzz/issues/294
* tools/docker/env: switch to Go 1.15Dmitry Vyukov2020-10-261-1/+1
| | | | | Go 1.15 is the latest release and it finds new bugs. Leave old-env on 1.14 so that we test with both.
* tools/create-image.sh: support for foreign architecturesAlexander Egorenkov2020-09-131-0/+15
| | | | | | Also update sy-env to be able to build the root image inside. Signed-off-by: Alexander Egorenkov <Alexander.Egorenkov@ibm.com>
* tools/docker: mirror images on githubDmitry Vyukov2020-09-124-33/+33
| | | | | Some users don't have access to the gcr.io registry. Mirror images on github as well.
* tools/docker: add old-envDmitry Vyukov2020-08-221-0/+51
| | | | | | | old-env is based on Ubuntu 16.04 and allows to test executor build on older distributions. Fixes #2055
* tools/docker/env: install qemu-userDmitry Vyukov2020-08-221-1/+4
| | | | qemu-user allows to run cross-arch binaries in tests.
* Makefile: enable clang-tidy in presubmit testsDmitry Vyukov2020-08-041-1/+1
| | | | | Fix all errors it points to. The one in netlink_send_ext is concerning.
* go.mod: add go-fuzz-buildDmitry Vyukov2020-07-041-4/+1
| | | | | | | | Otherwise go-fuzz-build now fails with: + go-fuzz-build -libfuzzer -func FuzzDeserialize -o fuzzer.a ./prog/test -: cannot find package "." in: /syzkaller/gopath/src/github.com/google/syzkaller/vendor/github.com/dvyukov/go-fuzz/go-fuzz-dep
* go.mod: vendor golangci-lintDmitry Vyukov2020-07-041-6/+1
|
* tools/docker/env: add s390x and riscv64 toolchainsDmitry Vyukov2020-06-251-1/+2
| | | | These arches are in-progress now. Need them in the image.
* sys/targets: fail loudly if SOURCEDIR_GOOS is set but compiler is brokenDmitry Vyukov2020-06-111-4/+12
| | | | | | | | Since we now have SOURCEDIR_{FUCHSIA,AKAROS,NETBSD} exported in the syz-big-env docker image, this will make CI fail for broken cross-builds too. Update instructions in the docker image to fix the current problem with permissions in syz-big-env: we need to tar with --mode=go=u.
* tools: add syz-big-envDmitry Vyukov2020-06-022-0/+99
On top of syz-env it provides akaros/fuchsia/netbsd toolchains and gcloud sdk. With this it's possible to run dashboard/app tests on CI and locally and test executor build and pkg/{csource,cover} for these OSes. Update #1765