Commit Graph

2 Commits

Author SHA1 Message Date
Jesse Chan
895aa0bd2a Tweaks "linux" and "linuxcross" Dockerfiles
linux:

- Move ARGs right before where they are used
- Move "COPY . ./" right before the "yarn" steps

So there is no unnecessary reruns of steps

linuxcross:

- Move ARGs right before where they are used
- Move "COPY . ./" right before the "yarn" steps
- Don't attempt to install the cross toolchain if compiling natively
- Add RANLIB override
- Simplify ENVs
2021-05-27 23:49:53 +01:00
Jesse Chan
6de6de36a3 CI: use Docker to build binaries for linux-arm64
Recently it comes to my attention that Github Actions image installs
experimental C++ standard library from an unsupported PPA, which
effectively breaks assumptions of binary compatibility for the OS
(in this case, Ubuntu 18.04+).

Unfortunately, as a result, the Github Actions environment can no
longer be trusted to compile proper binaries.

This change adds a Dockerfile that composes a proper Ubuntu 18.04
environment from official "ubuntu:bionic" image, and builds Node
binaries in it.

Bug: actions/virtual-environments#3432
2021-05-27 10:49:48 +01:00