Skip to content

Commit 8a8dbb5

Browse files
committed
Add Fedora 42 image
1 parent 77ae001 commit 8a8dbb5

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: ghcr-fedora-42
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ main ]
7+
paths:
8+
- "linux/fedora-42/**"
9+
10+
jobs:
11+
update-image:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
packages: write
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: log in to GHCR
20+
uses: docker/login-action@v3
21+
with:
22+
registry: ghcr.io
23+
username: ${{ github.actor }}
24+
password: ${{ secrets.GITHUB_TOKEN }}
25+
26+
- name: build and push
27+
uses: docker/build-push-action@v5
28+
with:
29+
context: .
30+
file: linux/fedora-42/Dockerfile
31+
push: true
32+
tags: ghcr.io/${{ github.repository_owner }}/ci-fedora-42:latest

linux/fedora-42/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM fedora:42
2+
3+
COPY ./robot/dependencies.txt .
4+
5+
RUN dnf update -y \
6+
&& dnf clean all \
7+
&& dnf install -y \
8+
cmake \
9+
gcc-c++ \
10+
git \
11+
libasan \
12+
libubsan \
13+
make \
14+
openssl-devel \
15+
python3 \
16+
python3-pip \
17+
&& dnf clean all
18+
19+
RUN python3 -m pip install -r dependencies.txt

0 commit comments

Comments
 (0)