82 Commits
Author SHA1 Message Date
ultrr 0b124d580e add docker-buildx-plugin 2023-03-03 09:48:21 +01:00
Marcus Young 44724f2ceb Hotfix: fix outdated key for focal on opensuse gpg 2022-12-31 18:59:13 -06:00
myoung34andGitHub cab9ae37d9 Merge pull request #263 from ilyesAj/patch-1
add zip package to dockerfile
2022-12-06 13:39:43 -06:00
Nick Malaguti fc8208dde5 Fix expired GPG key for opensuse kubic repository
https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/Release.key
expired on 2022-12-06. An updated key with an expiration of 2025-01-30
is available at
https://build.opensuse.org/project/keys_and_certificates/devel:kubic.
2022-12-06 11:39:40 -05:00
ilyes AjroudandGitHub 0530304feb add zip package 2022-12-05 15:24:07 +01:00
Marcus Young 6a29ed87fa Sid is now bookworm in lsb_release -cs 2022-10-31 10:03:36 -05:00
Marcus Young becabea1c5 Hotfix: more lenient sid to bullseye sub 2022-09-28 01:48:12 -05:00
Marcus Young b8f41da1fe Fix ghcli installer by using API and not html parsing 2022-09-26 12:08:03 -05:00
Marcus Young bd3554e89c Fix typos 2022-09-10 19:32:13 -05:00
Marcus Young a384f0df6e Set up pre-commit 2022-09-10 19:21:17 -05:00
Nick Malaguti 770434ca9f Change gh cli install method to github releases
The apt repo for the gh cli is broken due to an expired GPG key:
https://github.com/cli/cli/issues/6175

They want to retire the debian packaging altogether
https://github.com/cli/cli/issues/5941 and this is the recommended "long
term" solution
https://github.com/cli/cli/issues/6175#issuecomment-1235984381.

Adapted from https://github.com/cli/cli/issues/6175#issuecomment-1236264607

Fixes #236
2022-09-06 09:59:23 -04:00
jarrett-confrey 1fd6159c67 feat: add github cli (gh) 2022-08-29 11:04:46 -07:00
b8f1144165 Update Dockerfile.base
Co-authored-by: myoung34 <[email protected]>
2022-08-17 16:19:18 +02:00
Niklas MollenhauerandGitHub 84a9af0e82 Add git-lfs to base image
Using the checkout action with `lfs: true` currently fails with the error: 
```
Unable to locate executable file: git-lfs.
```

See: https://git-lfs.github.com
2022-08-17 13:54:58 +02:00
Marcus Young 1f2f6433f1 Fix sudoers for runner user 2022-07-27 07:53:48 -05:00
Marcus Young c6fcbc55fd Last changes for run-as runner user 2022-07-26 12:07:03 -05:00
myoung34andGitHub e48f984aca Merge pull request #223 from marcus-bcl/master
Run as non-root user by default
2022-07-26 11:47:59 -05:00
Marcus Young 7b3a3ce8ee Guarantee base dirs for -u runner 2022-07-26 10:27:48 -05:00
Marcus Young 0387cb3fa3 Move user add to docker base 2022-07-26 09:55:51 -05:00
Marcus Young 656280cd9e Swap USER directive for gosu for runtime permissions 2022-07-26 09:44:02 -05:00
uzlopak 2ae34e9abc remove awscliv2.zip after unzipping 2022-07-25 10:59:53 +02:00
Marcus Young 5f2c0c71c8 Restore latest to focal vs jammy 2022-06-16 16:23:42 -05:00
Marcus Young acb4454e23 add rsync 2022-06-07 21:10:58 -05:00
Ruben RodriguesandGitHub de02de3b29 Update Dockerfile.base 2022-06-07 03:13:04 +01:00
Ruben RodriguesandGitHub 1686d1c789 Update Dockerfile.base 2022-06-07 03:07:40 +01:00
Ruben RodriguesandRuben Rodrigues 0a34c2c876 Upgrade docker image to latest LTS version (jammy) 2022-06-07 02:16:10 +01:00
Andrew Miller 9ae21a5cfe Use .* instead of ' ' for find/replace in sudoers 2022-02-18 10:23:10 +09:00
Andrew MillerandAndrew Miller 20a6f03ae9 Add proxy env variable passthru on sudo
If you use "sudo" in the workflow file while behind a proxy, the environment variables passed into the container on creation will be lost since sudo current resets the environment. Update /etc/sudoers to allow the *_proxy and *_PROXY variables to be passed thru so proxy configuration is not lost.
2022-02-17 13:34:45 +09:00
Marcus Young 2d3051ab4b Add missing dependency for awscli fallback 2022-02-01 20:18:06 -06:00
Marcus Young 285d7931f9 Fix awscli to have a fallback method 2022-02-01 16:51:34 -06:00
Lauri Piispanen db21ee8ee9 install AWS CLI v2 directly from AWS 2022-01-24 23:30:30 +02:00
Marcus Young d1c0c8774c Fall back to stable repo for git 1.33 failed dependency on git-man 1.34 on bionic/bullseye non-amd64 2022-01-23 10:10:06 -06:00
Marcus Young 2ae55d6b9e Deprecate debian buster support. Its wildly terrible on packaging currently 2022-01-20 09:15:47 -06:00
Marcus Young abd539f01e Hotfix: fix PPA for debian 2022-01-20 09:00:05 -06:00
Marcus Young 3d05d424dc Fix gpg key add ordering 2022-01-19 15:02:52 -06:00
Marcus Young 2a1171e68a Add GPG key for git-core ppa 2022-01-19 15:00:13 -06:00
Marcus Young 22887fdbd3 Use git-core PPA for git 2022-01-19 14:55:14 -06:00
Marcus Young 4e61791506 Fix liblttng-ust[0-1] 2022-01-03 21:22:01 -06:00
myoung34andGitHub da6ae2594f Merge pull request #145 from Niek/master
Fix #142 - building on Sid
2021-09-15 08:29:28 -05:00
Julian Groß 2db9a8861e Properly enable locale 2021-09-13 23:58:46 +02:00
Niek van der MaasandGitHub ecda1f7588 Merge branch 'myoung34:master' into master 2021-09-13 12:35:32 +02:00
Niek van der Maas eb9014320c Fix Sid support 2021-09-13 12:35:12 +02:00
Joey Parrish 16aac74b73 Make python2 the default python version
It turns out that the "python2" package in Ubuntu doesn't touch
/usr/bin/python.  To get /usr/bin/python pointing to /usr/bin/python2,
you are supposed to install the "python" package.  I didn't realize this
when I made PR #132, and I didn't test thoroughly enough with my own
workflows to realize my mistake.

This corrects the package name to "python", making python2 the default.
2021-08-04 13:34:39 -07:00
myoung34andGitHub 069fe86c23 Merge pull request #133 from joeyparrish/fix-chmod
Fix failing chmod on docker-compose on arm
2021-08-04 11:33:42 -05:00
myoung34andGitHub 71f0efbe88 Merge pull request #132 from joeyparrish/install-python2
Add python2 to base image
2021-08-04 11:31:14 -05:00
Joey Parrish 60c4ce26f5 Fix failing chmod on docker-compose on arm
Since docker-compose is not downloaded on arm, the chmod command fails
there.  Moving it inside the previous command, after curl, ensures it
only runs when it should.
2021-08-04 09:31:05 -07:00
Joey Parrish cd2b8051cb Add python2 to base image
Since GitHub Actions environments include python2, this improves
compatibility for the docker image.
2021-08-04 08:55:21 -07:00
Joey Parrish 45fe54daa0 Add a comment about why git is built from source
Closes #125
2021-08-03 14:39:46 -07:00
Pierre KancirandGitHub f040e6c52b Installing jq once is enough
duplicate jq in apt-get install
2021-07-30 23:38:21 +02:00
Julian Groß 10ffac8d50 Don't use gnupg-agent transitional package as it is no longer needed 2021-07-15 20:48:31 +02:00