1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
Pavol Rusnak
206c9db661
fix(build): update build-docker.sh script
- autodetect arch
- autodetect wget/curl
- update alpine linux to 3.13.2
2021-02-22 17:32:37 +01:00
Pavol Rusnak
250f09245b
ci: drop experimental --platform argument from docker 2021-01-22 16:55:27 +01:00
Pavol Rusnak
453df567d3 ci: various fixes and updates
- fix Nix build on macOS Big Sur (by updating to nixpkgs-unstable)
- update gcc-arm-embedded from 9.x to 10.x
- update nix to 2.3.10
- update Alpine Linux to 3.12.3
- allow to change arch in Docker
2021-01-04 14:40:16 +01:00
Antonin Hildebrand
be9fcf7525
build: review the build script [skip ci]
1. make it work on macOS hosts
2. add quoting to paths to prevent failures if user was foolish
   enough to put the repo on a path with spaces
3. use -o pipefail for robustness
4. use wget --no-config to prevent surprises from ~/.wgetrc
5. add --init to docker run for better signals
6. detect effective USER:GROUP like a grown up
7. break fs download url into multiple configurable parts
8. make the script independent on launch location
9. build: generate nix-shell scripts with HEREDOC
9.1. this is easier on eyes, one could review generated script in ./build
9.2. we don't have to escape quotes and chain commands with &&
9.4. added some extra quoting for user-specified values
2020-11-11 16:53:42 +01:00
Pavol Rusnak
4fdb62c2e2 chore(python): replace pipenv with poetry 2020-10-07 16:21:00 +02:00
Martin Milata
1fc6c80b5d
build-docker.sh: print fw fingerprints after build (#1209) 2020-08-21 14:09:21 +02:00
Tomas Susanka
2b4de8e270
ci: use nix docker image 2020-07-03 17:33:59 +02:00
Pavol Rusnak
74450ee4bb docker: rename container name to trezor-firmware-build.nix 2020-06-07 17:08:25 +02:00
Pavol Rusnak
2930251eeb docker: don't use nixos/nix as base, use alpine from scratch 2020-06-07 17:08:25 +02:00
Pavol Rusnak
38c80a019f docker: don't run docker with --user, use chown instead 2020-06-07 17:08:25 +02:00
Pavol Rusnak
1d68c9b386 ci: use NixOS in Docker 2020-06-07 17:08:25 +02:00
matejcik
3742691111 build: in build-docker.sh, remove containers after we are done 2019-12-11 14:21:07 +01:00
Pavol Rusnak
d63f613238
ci/docker: use gcc-arm-embedded 9 2019-12-01 19:30:10 +01:00
Tomas Susanka
75c539ec55
all: replace /bin/bash with /usr/bin/env bash 2019-09-12 17:35:55 +02:00
Pavol Rusnak
d9e9fa6ceb
build: combine docker scripts for core and legacy into one 2019-09-08 17:16:53 +02:00
matejcik
e5670856a2 MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
Pavol Rusnak
4dcd3b5812
build: fix shebang and remove prodtest from build-docker 2019-03-25 19:14:44 +01:00
Pavol Rusnak
6ce1794248
docker: add PRODUCTION env variable to build script 2018-11-05 21:41:03 +01:00
Pavol Rusnak
65434fa49a
docker: fix Docker build 2018-10-23 12:00:42 +02:00
Pavol Rusnak
610233280d
build: unify Dockerfiles 2018-10-12 14:13:39 +02:00
Pavol Rusnak
04cdb68ed2
build: unify build-docker.sh and build-docker.gcc_source.sh 2018-10-12 13:57:27 +02:00
Yura Pakhuchiy
2865c9853c Docker: support local build and build from other gh repos
Similar to recent trezor-mcu changes
2018-07-01 20:35:22 +02:00
Pavol Rusnak
cf9c97288e
build: rework vendorheader handling, move them to embed/vendorheader 2018-01-31 16:46:15 +01:00
Pavol Rusnak
27f61ae121
build: add build-docker.gcc_source.sh script 2018-01-28 15:44:26 +01:00
Pavol Rusnak
4d065df376
build: add possibility to build ARM toolchain from source 2018-01-09 21:45:43 +01:00
Pavol Rusnak
2869d4cbcb
build: cosmetic changes to travis and docker build 2017-11-04 15:01:44 +01:00
Pavol Rusnak
ad517f376a
build: add build using docker 2017-11-04 01:56:05 +01:00