Add combined-amd64-fedora-41
Some checks failed
on-push / infra/buildenv/node (push) Failing after 19s
on-push / infra/buildenv/cxx-amd64-fedora-40 (push) Failing after 25s
on-push / infra/buildenv/combined-amd64-fedora-40 (push) Failing after 19s
on-push / infra/buildenv/cxx-amd64-fedora-41 (push) Failing after 22s

This commit is contained in:
R.Y.A.N 2025-03-08 22:39:56 +01:00
parent ca3640b1f0
commit d27f08dca7
Signed by: R.Y.A.N
GPG Key ID: 3BD93EABD1407B82
2 changed files with 31 additions and 0 deletions

View File

@ -50,3 +50,19 @@ jobs:
run: docker tag code.helloryan.se/infra/buildenv/node:${{ gitea.sha }} code.helloryan.se/infra/buildenv/node:latest
- name: Push
run: docker push code.helloryan.se/infra/buildenv/node:latest
infra/buildenv/combined-amd64-fedora-40:
runs-on: linux
container: code.helloryan.se/infra/misc/docker:latest
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Login
run: echo ${{ secrets.INFRA_ACCESS_TOKEN }} | docker login -u act-runner --password-stdin code.helloryan.se
- name: Build
run: docker buildx build -t code.helloryan.se/infra/buildenv/combined-amd64-fedora-40:${{ gitea.sha }} combined-amd64-fedora-40
- name: Test
run: docker run --rm code.helloryan.se/infra/buildenv/combined-amd64-fedora-40:${{ gitea.sha }} g++ --version
- name: Tag
run: docker tag code.helloryan.se/infra/buildenv/combined-amd64-fedora-40:${{ gitea.sha }} code.helloryan.se/infra/buildenv/combined-amd64-fedora-40:latest
- name: Push
run: docker push code.helloryan.se/infra/buildenv/combined-amd64-fedora-40:latest

View File

@ -0,0 +1,15 @@
FROM fedora:41
RUN true \
&& dnf -y update \
&& dnf -y install curl g++ gcc-plugin-devel git make nodejs nodejs openssl wget xxd yarnpkg \
&& dnf -y install glibc-static libstdc++-static \
&& dnf clean all
RUN true \
&& mkdir ~/build2-build \
&& cd ~/build2-build \
&& curl -sSfO https://download.build2.org/0.17.0/build2-install-0.17.0.sh \
&& sh build2-install-0.17.0.sh --yes --trust yes \
&& cd / \
&& rm -rf ~/build2-build