Commit Graph

60 Commits

Author SHA1 Message Date
Ryan 844d48050c add ubuntu-24.04 (#133)
* add ubuntu-24.04

* Different workaround for default user/group in 24.04 (#137)

---------

Co-authored-by: Bob Vandevliet <info@bvandevliet.nl>
2024-11-20 17:40:23 +01:00
ChristopherHX c8a0963004 move tools out of /opt/hostedtoolcache due it beeing a mounted volume (#121)
We can define ACT_TOOLSDIRECTORY back to /opt/hostedtoolcache to revert this
2024-01-30 22:22:39 +01:00
Claus F. Strasburger 3150f2e8b4 Build rust images for ARM64 & use cargo binstall for faster build time (#120)
* Also build rust on arm64

* rust: use cargo-binstall for performance

Since linux/arm64 images are built using QEMU, the compilation of bindgen-cli, cbindgen, cargo-audit & cargo-outdated takes a very long time, especially on Ubuntu 20.04 (more than 6 hours, for the combination of both architectures on one job). This exceeds the github actions time-limit.

So, we'll just use pre-built binaries using cargo-binstall where possible.
2024-01-02 23:44:01 +01:00
Robin van Boven ec09e6e85f feat: Add yq to act (#117)
* feat: update install script

* fix: revert toolset path

Since there's a lot of hard-coded references to this path.

* feat: Adds yq script

Unlike upstream we detect the arch suffix here.

* feat: include yq in act and custom flavors

* fix: include armhf in supported arch for act.yml

* fix: PR feedback, don't need to install twice for custom
2023-11-19 19:59:49 +01:00
ChristopherHX c37123c140 fix: toolsets url - current 20231115
images are broken

* GitHub renamed the linux folder of their repo to ubuntu
2023-11-19 14:31:12 +00:00
Andrew Vaughan 0037a6d5ce Remove RSA restriction from SSH (#116) 2023-10-22 14:12:51 +02:00
Jacob Emmert-Aronson a38c4d38b3 Add pip, venv, and pipx to act image (#74)
This dramatically improves the experience of running python-based
actions workflows.  It adds roughly 7MB of space to the Ubuntu 20.04
image and 22MB to Ubuntu 22.04.

resolves: #61

Co-authored-by: ChristopherHX <christopher.homberger@web.de>
2023-09-18 21:16:44 +02:00
Ryan 8d329ea316 fix: add gh to custom (#56)
* fix: add gh to custom

* fix gh script multi arch

* Dockerfile use bash directly

* Update build-ubuntu.yml

---------

Co-authored-by: Ryan <me@hackerc.at>
Co-authored-by: ChristopherHX <christopher.homberger@web.de>
2023-09-18 20:17:56 +02:00
ChristopherHX e4184ded47 add sbt (#110) 2023-09-17 21:42:59 +02:00
MakKi (makki_d) a1893c9cbc git config safe.directory for act (#108) 2023-09-15 20:55:51 +02:00
ChristopherHX ba845e085e Attempt to improve js image reliability 2023-09-15 18:28:28 +02:00
ChristopherHX 6c13d58a76 fix typo bin/go to be go/bin 2023-08-28 12:57:58 +02:00
James Mills f5b36f262a Add $HOME/go/bin to $PATH for go (#106) 2023-08-27 20:50:13 +02:00
ChristopherHX 4f6bdf85e1 enable arm64 builds (#94)
* enable arm64 builds

* Add `[skip build-base]` conditional for PRs

* only setup arm64 arch in qemu

* fix permission java-tools

* go default to 1.20 and fix pwsh

* exclude lib32z1 for arm64

* increase npm timeout for qemu

* Try to speed up npm under qemu

* make npm verbose

* Use http registry

* Another test

* Use less build resources

* fix dockerhub tag

* Fix building
2023-08-26 22:22:05 +02:00
ChristopherHX 60cbcc9f33 fix go special image (#104)
* fix go special image

* fix go symlink

* try to cleanup space
2023-08-15 14:23:06 +02:00
Nathan Ferch 515832b73e fix: go toolcache (#95) 2023-07-27 14:34:14 +02:00
Rene Leonhardt 284416fdf8 Install Node.js 16 and 18 by default (and 20 additionally) (#98)
* Install Node.js 16 and 18 by default (and 20 additionally)

* Use caching for go test
2023-07-27 14:31:50 +02:00
R 4c25622176 use wget 2023-05-15 21:01:21 +02:00
R d161d68117 update node download 2023-05-15 21:00:50 +02:00
Christian Helmich 15f9808a68 feature: add .NET installation (#90)
* file: add .NET installation script dotnet.sh

* feat: add dotnet installation to custom image

* feat: add dotnet to build matrix

* Prepend `PATH` correctly
2023-04-25 13:00:17 +02:00
Eric Vantillard efcaf8c96c fix: running java-tools.sh fail on apt-get update (#88)
- import last version from runner-images
- replace  $HELPER_SCRIPT with hardcoded paths
- remove call to invoke_tests "Java" at the end of installation
2023-04-24 22:48:22 +02:00
ChristopherHX 76a495edad fix: installing vcpkg in custom image (#84)
* fix: installing vcpkg in custom image

* remove lines causing lint errors
2023-02-01 01:01:56 +01:00
R c21a1af5c4 fix: rename bindgen to bindgen-cli 2022-12-08 16:21:18 +01:00
Ryan 29789a40b0 fix(rust): remove --locked 2022-05-02 10:35:45 +00:00
Ryan 05d1012eec add isUbuntu22 and isUbuntuVer 2022-05-02 10:33:32 +00:00
Ryan 74a51cb0fb fix: missing ssl headers 2022-05-02 09:56:23 +00:00
Ryan 8a28983c20 feat: ubuntu-2204 (#52)
* feat: ubuntu-2204
* remove unnecessary git-lfs install
2022-04-21 22:29:27 +02:00
Ryan 5d10b5ed1a fix: correct go.sh (#55) 2022-04-01 11:33:55 +02:00
Ryan 343ae52a8b add arm64/armhf for 18.04, replace git{,-lfs} (#51) 2022-03-05 04:22:34 +01:00
Ryan 2615f18d2a Update images
- replace shell script with pwsh
- add more tools from actions/virtual-environments
- fixup pwsh modules installation
- install node 12 and 16 in base
- add node 14 in js-*
- build rust images
- restrict flavours to amd64 only for now
- add helper scripts from actions/virtual-environments
- overhaul build and dockerfile
2022-02-23 20:58:25 +01:00
Ryan 168b321e02 fix(pwsh): trust PSGallery (#33)
This prevents PowerShell from prompting if we should trust PSGallery during module installation without `-Force`
2021-10-09 11:03:19 +02:00
Erik Sundell 447ca83cfa Make arm64 compatible 2021-08-17 20:10:52 +02:00
Ryan (hackercat) c84f165490 refactor: move to sh scripts (#17) 2021-07-21 10:43:59 +02:00
Ryan (hackercat) 3ce111504e fix: match PATH= only (#15) 2021-06-22 09:54:33 +02:00
Ryan (hackercat) 405652dcda fix(workflows): update actions/setup-go to v2 (#14) 2021-06-15 00:30:46 +02:00
hackercat 93fbe6ae61 fix: finish rust Dockerfile 2021-06-06 01:21:31 +00:00
Ryan (hackercat) 6ffb01cfd3 Refactor again (#11) 2021-05-28 13:31:42 +02:00
hackercat 887661cb61 fix: install git-lfs on focal/bionic only 2021-05-02 18:09:59 +00:00
hackercat 5fa45fbef0 fix: add git-lfs 2021-05-02 17:34:45 +00:00
hackercat 7818b929c6 refactor: image building
refactor image building, add more variants
2021-05-02 17:17:16 +00:00
hackercat d0defb200a fix: scan github.com and save to known_hosts 2021-04-26 17:38:07 +00:00
hackercat 151097b05b fix: add more OCI spec labels 2021-04-26 17:38:07 +00:00
hackercat 5ee01d8db2 refactor: add USER, move steps in Dockerfile 2021-04-26 17:38:07 +00:00
hackercat d2182b9ac8 fix: add USER and RUNNER_USER to /etc/environment 2021-04-26 17:38:07 +00:00
Felipe Santos bdcc8235a5 Fix SHELL and ENTRYPOINT missing -c 2021-04-26 17:38:07 +00:00
Felipe Santos d85c393787 Add xz-utils to act image 2021-04-26 17:38:07 +00:00
hackercat 796dba29c0 Add libicu to image 2021-04-26 17:38:07 +00:00
hackercat c769888e60 Format Dockerfile/s 2021-04-26 17:38:07 +00:00
hackercat 8b7c09c340 Add Docker CLI client 2021-04-26 17:38:06 +00:00
hackercat f464430272 Update repository URI 2021-04-26 17:38:06 +00:00