Skip to content

Commit

Permalink
Add fedora30 container
Browse files Browse the repository at this point in the history
  • Loading branch information
romange committed Aug 29, 2023
1 parent 870bab7 commit cbdbef7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 26 deletions.
41 changes: 15 additions & 26 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,19 @@ jobs:
# Building Dev Image
# ===============================================================
build_dev:

runs-on: ubuntu-latest
strategy:
matrix:
# Test of these containers
include:
- container: "alpine-dev:latest"
file: alpine-dev.Dockerfile
- container: "ubuntu-dev:20"
file: u20.04-dev.Dockerfile
- container: "ubuntu-dev:22"
file: u22.04-dev.Dockerfile
- container: "fedora:30"
file: "fedora30-dev.Dockerfile"
steps:
- name: checkout
uses: actions/checkout@v3
Expand All @@ -41,34 +52,12 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

-
name: Build ubuntu-dev:20
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: |
ghcr.io/${{ github.actor }}/ubuntu-dev:20
file: u20.04-dev.Dockerfile

-
name: Build ubuntu-dev:22
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: |
ghcr.io/${{ github.actor }}/ubuntu-dev:22
file: u22.04-dev.Dockerfile

-
name: Build alpine-dev
name: Build
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: |
ghcr.io/${{ github.actor }}/alpine-dev:latest
file: alpine-dev.Dockerfile
ghcr.io/${{ github.actor }}/${{ matrix.container }}
file: ${{ matrix.file }}
7 changes: 7 additions & 0 deletions fedora30-dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# syntax=docker/dockerfile:1
FROM fedora:30

RUN dnf install -y automake boost-devel boost-static gcc-c++ git cmake libtool ninja-build \
openssl-devel libunwind-devel autoconf-archive patch libxml2-devel \
&& dnf clean all \
&& rm -rf /var/cache/yum

0 comments on commit cbdbef7

Please sign in to comment.