Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit 4f4dac3

Browse files
authored
Merge pull request #29 from fullstack-devops/bugfix/add-alpaca-proxy
add docs + add alpaca proxy
2 parents 8ccc3ad + 6c0a17d commit 4f4dac3

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,23 @@
22
[![Anchore Container Scan](https://github.com/fullstack-devops/github-actions-runner/actions/workflows/anchore.yml/badge.svg)](https://github.com/fullstack-devops/github-actions-runner/actions/workflows/anchore.yml)
33

44
# GitHub Actions Custom Runner
5-
Container images with Github Actions Runner. Different flavored images with preinstalled tools and software for builds with limited internet access and non root privileges.
5+
Container images with Github Actions Runner. Different flavored images with preinstalled tools and software for builds with limited internet access and non root privileges (exception for kaniko).
6+
With a focus on already installed software to avoid a subsequent installation by a `setup-action`.
67

7-
Ideal for building software in enterprise environments of large organizations that often restrict internet access.
8+
Ideal for building software in corporate environments of large and small organizations that often restrict Internet access.
89
Software builds can be built there using a [Nexus Repository](https://de.sonatype.com/products/repository-oss) or [JFrog Artifactory](https://jfrog.com/de/artifactory/)
910

1011
Support: If you need help or a feature just open an issue!
1112

1213
Package / Images: `ghcr.io/fullstack-devops/github-actions-runner`
1314

1415
Available Tags:
15-
| Name (tag) | Installed Tools/ Software | Description |
16-
| ----------------------- | --------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
17-
| `latest-base` | libffi-dev, libicu-dev, build-essential, libssl-dev, ca-certificates, jq, sed, grep, git, curl, wget, zip | Base runner with nothing fancy installed <br> [Dockerfile](images/base/Dockerfile) |
18-
| `latest-kaniko-sidecar` | kaniko | Sidecar used by other runner images to build containers without root privileges |
19-
| `latest-ansible-k8s` | base-image + ansible, helm, kubectl, skopeo | Runner specialized for automated k8s deployments via ansible <br> For more Details see [Dockerfile](images/ansible-k8s/Dockerfile) |
20-
| `latest-fullstacked` | base-image + ansible, helm, maven, temurin-11, nodejs, go, yarn, angular/cli, chromium | Runner with a bunch of tools to build your hole application<br> For more Details see [Dockerfile](images/fullstacked/Dockerfile) |
16+
| Name (tag) | Installed Tools/ Software | Description |
17+
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
18+
| `latest-base` | libffi-dev, libicu-dev, build-essential, libssl-dev, ca-certificates, jq, sed, grep, git, curl, wget, zip, [awesome-ci](https://github.com/fullstack-devops/awesome-ci), [alpaca](https://github.com/samuong/alpaca) | Base runner with nothing fancy installed <br> [Dockerfile](images/base/Dockerfile) |
19+
| `latest-kaniko-sidecar` | kaniko | Sidecar used by other runner images to build containers without root privileges |
20+
| `latest-ansible-k8s` | base-image + ansible, helm, kubectl, skopeo | Runner specialized for automated k8s deployments via ansible <br> For more Details see [Dockerfile](images/ansible-k8s/Dockerfile) |
21+
| `latest-fullstacked` | base-image + ansible, helm, maven, temurin-11, nodejs, go, yarn, angular/cli, chromium | Runner with a bunch of tools to build your hole application<br> For more Details see [Dockerfile](images/fullstacked/Dockerfile) |
2122

2223
> Hint: `latest` can be replaced with an specific release version for more stability in your environment.
2324

images/base/Dockerfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ ENV GH_RUNNER_WORKDIR="/home/${USERNAME}"
1313
ENV GH_KANIKO_WORKDIR="/kaniko/workspace"
1414

1515
# https://github.com/actions/runner/releases
16-
ENV GH_RUNNER_VERSION=2.292.0
16+
ENV GH_RUNNER_VERSION=2.294.0
1717
ENV GH_RUNNER_LABELS=ubuntu-20.04
1818

19+
# https://github.com/fullstack-devops/awesome-ci/releases
1920
ENV AWESOME_CI_VERSION 0.11.6
21+
# https://github.com/samuong/alpaca/releases
22+
ENV ALPACA_VERSION 1.3.1
2023

2124
# making nessecarry directories
2225
RUN mkdir /helper-scripts \
@@ -43,6 +46,12 @@ RUN export ARCH=$(/helper-scripts/translate-aarch.sh a-short) \
4346
&& chmod +x /usr/local/src/awesome-ci \
4447
&& ln -s /usr/local/src/awesome-ci /usr/local/bin/
4548

49+
# install alpaca
50+
RUN curl -L -O https://github.com/samuong/alpaca/releases/download/v${ALPACA_VERSION}/alpaca_v${ALPACA_VERSION}_linux-amd64 \
51+
&& mv alpaca_v${ALPACA_VERSION}_linux-amd64 /usr/local/src/alpaca \
52+
&& chmod +x /usr/local/src/alpaca \
53+
&& ln -s /usr/local/src/alpaca /usr/local/bin/
54+
4655
WORKDIR /home/${USERNAME}/runner
4756

4857
# add a non-sudo user

0 commit comments

Comments
 (0)