aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
AgeCommit message (Collapse)Author
2024-08-17ci: use Go 1.23Ayke van Laethem
2024-03-24ci: don't add --recursive when updating submodulesAyke van Laethem
It's not generally needed. It was added in https://github.com/tinygo-org/tinygo/pull/3958 to fix an issue with binaryen that has since been fixed in a different way, so we don't need the googletest dependency anymore.
2024-02-27docker: update final build stage to go1.22deadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-20ci: switch to Go 1.22Ayke van Laethem
2024-02-20Dockerfile: reduce size of resulting imageAyke van Laethem
This reduces the size of the Docker image from 13GB to 1.71GB, and should therefore make CI of the drivers package much faster. It should hopefully also avoid the out-of-space problem we currently have when building the smoke tests for the drivers repo. This size reduction is done by using multistage builds and only copying the necessary files in the final stage.
2023-11-28docker: makefile was renamed but did not show error util cache was busteddeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-11-28docker: remove lists after update to reduce image sizedeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-08-11docker: use Go 1.21 for Docker dev container builddeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-07-02docker: update clang to version 15Rado M
2023-02-03ci: switch to Go 1.20Ayke van Laethem
2022-11-06avr: drop GNU toolchain dependencyAyke van Laethem
- Use compiler-rt and picolibc instead of avr-libc. - Use ld.lld instead of avr-ld (or avr-gcc). This makes it much easier to get started with TinyGo on AVR because installing these extra tools (gcc-avr, avr-libc) can be a hassle. It also opens the door for future improvements such as ThinLTO. There is a code size increase but I think it's worth it in the long run. The code size increase can hopefully be reduced with improvements to the LLVM AVR backend and to compiler-rt.
2022-11-04esp: use LLVM Xtensa linker instead of Espressif toolchainAyke van Laethem
The Espressif fork of LLVM now has Xtensa support in the linker LLD. (This support was written mosly by me). This means we don't have to use the Espressif GNU toolchain anymore and makes installing TinyGo simpler. In the future, this also paves the way for ThinLTO support. Right now it is mostly just a way to simplify TinyGo installation and speed up CI slightly.
2022-09-24ci: build TinyGo using Go 1.19Ayke van Laethem
We've supported Go 1.19 for a while now, let's actually use it in CI.
2022-04-23docker: update Dockerfile to use Go 1.18deadprogram
Signed-off-by: deadprogram <[email protected]>
2021-12-30docker: update Dockerfile for xtensa-esp32-elf-ldsago35
2021-12-22docker: remove only subdirectories (which are updated as submodules) from ↵deadprogram
lib to keep picolibc file in its correct place Signed-off-by: deadprogram <[email protected]>
2021-12-20docker: have to copy build results to GOPATH at the very end of docker builddeadprogram
Signed-off-by: deadprogram <[email protected]>
2021-12-15docker: update Dockerfile for dev build for LLVM 12 changesdeadprogram
Signed-off-by: deadprogram <[email protected]>
2021-11-14fix binaryen build in dockerNia Waldvogel
Oops I forgot to install cmake and ninja.
2021-11-14internal/task: use asyncify on webassemblyNia Waldvogel
This change implements a new "scheduler" for WebAssembly using binaryen's asyncify transform. This is more reliable than the current "coroutines" transform, and works with non-Go code in the call stack. runtime (js/wasm): handle scheduler nesting If WASM calls into JS which calls back into WASM, it is possible for the scheduler to nest. The event from the callback must be handled immediately, so the task cannot simply be deferred to the outer scheduler. This creates a minimal scheduler loop which is used to handle such nesting.
2021-11-04picolibc: add include directory to build artefactAyke van Laethem
This is really just a preparatory commit for musl support. The idea is to store not just the archive file (.a) but also an include directory. This is optional for picolibc but required for musl, so the main purpose of this commit is the refactor needed for this change.
2021-10-27docker: add picolibc-include directoryYurii Soldak
2021-10-26cgo: add support for stdio in picolibc and wasi-libcAyke van Laethem
This adds support for stdio in picolibc and fixes wasm_exec.js so that it can also support C puts. With this, C stdout works on all supported platforms.
2021-09-02docker: use go 1.17 for docker dev builddeadprogram
Signed-off-by: deadprogram <[email protected]>
2021-08-18docker: golang default images now based on bullseyedeadprogram
Signed-off-by: deadprogram <[email protected]>
2021-08-18docker: use autoremove to tr to cleanup broken packagesdeadprogram
Signed-off-by: deadprogram <[email protected]>
2021-08-18docker: apt clean before apt get of llvm to avoid broken packagesdeadprogram
Signed-off-by: deadprogram <[email protected]>
2021-05-26docker: update dev dockerfile to Go 1.16deadprogram
Signed-off-by: deadprogram <[email protected]>
2021-01-19docker: update dev docker image to use llvm11deadprogram
Signed-off-by: deadprogram <[email protected]>
2020-11-13ci: update CircleCI, Azure, and Docker builds to Go 1.15Ron Evans
Signed-off-by: deadprogram <[email protected]>
2020-09-06docker: fix the problem with the wasm build (#1357)sago35
* docker: fix the problem with the wasm build
2020-06-22docker: try installing lld in initial stage to avoid cache problem with deb ↵deadprogram
package Signed-off-by: deadprogram <[email protected]>
2020-06-01Dockerfile: avoid duplicate LLVM apt lineAyke van Laethem
This line causes problems when installing software: apt-get complains that there are duplicate lines.
2020-04-12all: support Go 1.14Elliott Sales de Andrade
2020-04-09main: switch to LLVM 10Ayke van Laethem
This commit also adds a bit of version independence, in particular for external commands. It also adds the LLVM version to the `tinygo version` command, which might help while debugging.
2020-03-25Dockerfile: copy picolibc header into containergwtnz
2020-03-17docker: use git submodule sync to handle case where repo url changesRon Evans
Signed-off-by: Ron Evans <[email protected]>
2019-12-14tools: rewrite gen-device-svd in GoAyke van Laethem
This should make it more maintainable. Another big advantage that generation time (including gofmt) is now 3 times faster. No real attempt at refactoring has been made, that will need to be done at a later time.
2019-11-16all: switch to LLVM 9Ayke van Laethem
2019-09-24all: add support for go 1.13Jaden Weiss
2019-09-15all: replace dep with Go modulesAyke van Laethem
We've moved to go modules, and keeping both working is burdensome. In fact, I think dep already wasn't working.
2019-09-09docker: use Go 1.12 base Docker image for compatibilityRon Evans
Signed-off-by: Ron Evans <[email protected]>
2019-08-07docker: Debian stable-slim image now based on buster not stretch, so update ↵Ron Evans
the needed package repo used for LLVM. Signed-off-by: Ron Evans <[email protected]>
2019-05-15docker: do not remove make from tinygo-dev docker image, to make it easier ↵Ron Evans
to run drivers CI build, which uses the tinygo-dev image Signed-off-by: Ron Evans <[email protected]>
2019-05-05docker: perform a hard submodule reset after having moved the git repos ↵Ron Evans
directory Signed-off-by: Ron Evans <[email protected]>
2019-04-04arm: use the lld linkerAyke van Laethem
LLD version 8 has added support for armv6m: https://reviews.llvm.org/D55555 This means we can use LLD instead of arm-none-eabi-ld, eliminating our dependency on GNU binutils. There are small differences in code size, but never more than a few bytes.
2019-03-22all: switch to LLVM 8Ayke van Laethem
2019-02-05making Docker build resilient (#168)Samuel Lang
Currently, if the user hasn't run `git submodule update --init` beforehand, the docker build will fail This little addition makes the build atomic and ready for automatic CI tests for the future
2019-01-31all: update import paths to github.com/tinygo-org/tinygoAyke van Laethem
2018-12-17Dockerfile, README, docs: Remove entrypointJohan Brandhorst
This was causing more trouble than it was helping, so lets remove it.