Skip to content

Commit

Permalink
Test building on Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
guydavis committed Feb 11, 2025
1 parent 8020089 commit 445391e
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 4 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/develop-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,45 @@ name: develop-base

on: workflow_dispatch

jobs:
docker-noble:
runs-on: ubuntu-24.04
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
file: docker/dockerfile-noble.base
context: .
platforms: linux/amd64
provenance: false
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-noble:develop
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-noble:develop
jobs:
docker-jammy:
runs-on: ubuntu-22.04
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/develop-chia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
provenance: false
push: true
build-args: |
"UBUNTU_VER=jammy"
"UBUNTU_VER=noble"
"MACHINARIS_STREAM=develop"
"CHIADOG_BRANCH=dev"
"CHIA_BRANCH=2.4.3"
"CHIA_BRANCH=2.5.1"
"BLADEBIT_BRANCH=master"
"PLOTMAN_BRANCH=compress"
tags: |
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
provenance: false
push: true
build-args: |
"UBUNTU_VER=jammy"
"UBUNTU_VER=noble"
"MACHINARIS_STREAM=develop"
"CHIADOG_BRANCH=dev"
"GIGAHORSE_BRANCH=v2.5.0.giga36"
Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG UBUNTU_VER=jammy
ARG UBUNTU_VER=noble
ARG MACHINARIS_STREAM=main

FROM ghcr.io/guydavis/machinaris-base-${UBUNTU_VER}:${MACHINARIS_STREAM}
Expand Down
56 changes: 56 additions & 0 deletions docker/dockerfile-noble.base
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
ARG UBUNTU_VER="noble"

FROM ubuntu:${UBUNTU_VER} as package_stage

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update \
&& apt-get install -y \
acl \
apt \
bash \
bc \
ca-certificates \
cifs-utils \
cmake \
curl \
git \
iproute2 \
iputils-ping \
jq \
libsqlite3-dev \
locales \
locales-all \
logrotate \
lsb-release \
openssl \
p7zip-full \
p7zip-rar \
psmisc \
python3 \
python3.10-distutils \
python3.10-venv \
python3-dev \
python3-pip \
python3-libtorrent \
python-is-python3 \
smartmontools \
sqlite3 \
sudo \
tar \
tzdata \
unrar \
unzip \
vim \
wget \
\
# update smartmontools drive db
\
&& /usr/sbin/update-smart-drivedb \
\
# cleanup apt cache
\
&& rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*

0 comments on commit 445391e

Please sign in to comment.