102 Commits
Author SHA1 Message Date
Mark Young 5d52464754 Use latest git-lfs and not hardcode 2025-11-03 11:12:14 -06:00
Kieron Wilkinson 4b5b5c0b62 Refactored Dockerfile.base install into dedicated scripts
Additionally, this change:
- Configures upfront to reduce number of apt updates
- Removes use of lsb-release to allow simplification and avoid unnecessary dependencies in the base image (i.e. Python)
2024-09-06 16:56:19 +01:00
Marcus Young 3f05ebdeb8 Attempt to clean up ubuntu-isms 2024-05-16 10:49:44 -05:00
Marcus Young 342fa4a746 Remove bullseye ahead of June security EOL 2024-05-15 20:10:39 -05:00
Hisashi IguchiandGitHub 5aff704e20 fix typo PWSH_DOWNLOAD_URL 2024-05-01 09:41:30 +09:00
hisa9chi c4daccdc9e deletel rm command 2024-04-30 22:31:40 +09:00
hisa9chi 2f4d9c9054 add powershell 2024-04-30 21:27:41 +09:00
Roberto Chaud cd07076c6d commend out ulimit -Hn 2024-04-24 12:58:41 -05:00
Marcus Young 580be6a45e Fix trailing whitespace 2023-12-18 09:27:50 -06:00
Roman GarciaandGitHub 9b50c361fa Install python3-venv
The proposed change installs python3-venv, on top of python3, which is a requirement for cfn-linter (and probably others?)

Without it, the error shows:
```
Run scottbrenner/cfn-lint-action@v2
##[add-matcher]/_work/yopdev-cicd-runner--aIk16GWGgIQZE/_actions/scottbrenner/cfn-lint-action/v2/.github/cfn-lint.json
##[debug]Added matchers: 'cfn-lint', 'cfn-lint-warnings'. Problem matchers scan action output for known warning or error strings and report these inline.
/usr/bin/python3 --version
Python 3.8.10
/usr/bin/python3 -m venv /tmp/setup-cfn-lint-QLO4Gb/.venv
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt install python3.8-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.
```
2023-12-15 14:37:12 -03:00
ponkio-o 9465751438 feat: added mikefarah/yq 2023-12-13 17:21:03 +09:00
Daniel Bloom 2c3e8874f7 feat: add pkg-config to Dockerfile.base 2023-11-20 12:13:31 -08:00
Marcus Young 82add45bdf Add mirrors for apt keyserver 2023-11-11 07:53:02 -06:00
Marcus Young 5a641f89d1 Fix dockerfile base for sid -> trixie 2023-07-18 10:19:28 -05:00
Marcus Young f8f9bc6b49 Ignore "Dockerfile.base:14 SC2015 info: Note that A && B || C is not if-then-else. C may run when A is true." 2023-06-16 07:55:59 -05:00
Marcus Young 63168d765e Clean up third party repos in base image 2023-06-09 07:19:50 -05:00
Vederis LeunardusandGitHub 86777d4090 feat: add the libpq-dev into dockerfile base 2023-05-25 15:49:04 +08:00
David Silva a8b81262a8 Fix docker compose shebang 2023-04-13 16:37:11 +02:00
Evan Barnes 6169ef10dc Changing docker-compose script directory to /usr/local/bin. 2023-03-28 11:18:49 -04:00
Evan Barnes 02c62cecf6 Installing docker compose via the docker plugin and creating compatibility command for "docker-compose". 2023-03-28 10:34:41 -04:00
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