Skip to content

Commit

Permalink
Merge pull request #46 from perfsonar/issue-45
Browse files Browse the repository at this point in the history
Add support for Ubuntu 24.  #45  PARTIAL; see ticket.
  • Loading branch information
mfeit-internet2 authored Apr 26, 2024
2 parents 25157e3 + d2e7176 commit c9a49c5
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ 'el7', 'el8', 'ol8', 'el9', 'd11', 'd12', 'u18', 'u20', 'u22' ]
os: [ 'el7', 'el8', 'ol8', 'el9', 'd11', 'd12', 'u18', 'u20', 'u22', 'u24' ]

runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker multiarch images
id: build-and-push-multiarch
if: ${{ matrix.os == 'd11' || matrix.os == 'd12' || matrix.os == 'u18' || matrix.os == 'u20' || matrix.os == 'u22' }}
if: ${{ matrix.os == 'd11' || matrix.os == 'd12' || matrix.os == 'u18' || matrix.os == 'u20' || matrix.os == 'u22' || matrix.os == 'u24' }}
uses: docker/build-push-action@v3
with:
context: .
Expand Down
18 changes: 18 additions & 0 deletions docker-envs/Dockerfile-u24
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM ubuntu:24.04 AS unibuild-image

# Install pre-requisites for building packages
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y sudo apt-utils curl emacs-nox gnupg htop m4 make pylint rsync screen tree vim

# Copy unibuild source
COPY . /usr/share/unibuild/

# Install unibuild
WORKDIR /usr/share/unibuild
RUN make RELEASE=1
RUN /usr/share/unibuild/libexec/prep/prep

# Shared volume for code to build
VOLUME /app
WORKDIR /app
2 changes: 1 addition & 1 deletion docker-envs/build-dev-images
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ clear_cache=false
verbose=false
build_type=
registry=
declare -a OSimages=("d10" "d11" "d12" "u18" "u20" "u22")
declare -a OSimages=("d10" "d11" "d12" "u18" "u20" "u22" "u24")

while getopts "chr:v" OPT; do
case $OPT in
Expand Down
1 change: 1 addition & 0 deletions docker-envs/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,4 @@ services:
platform: "linux/ppc64le"
image: ghcr.io/perfsonar/unibuild/u22:latest@sha256:91d5ba272ca73f62d18758d2a2cbad7e85ca9f5830680d44da90447006999046
volumes: *default-volumes
# TODO: Add u24_*
2 changes: 1 addition & 1 deletion docker-envs/update-sha256-images
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
my $filename = 'docker-compose.yml';
my $registry_path = 'ghcr.io/perfsonar/unibuild/';
my $registry_path_esc = $registry_path =~ s/\//\\\//gr;
my @OSimages = ('d10:latest', 'd11:latest', 'd12:latest', 'u18:latest', 'u20:latest', 'u22:latest');
my @OSimages = ('d10:latest', 'd11:latest', 'd12:latest', 'u18:latest', 'u20:latest', 'u22:latest', "u24:latest');
my $file, $newsha, $count=0;
# Announce what we'll do
Expand Down

0 comments on commit c9a49c5

Please sign in to comment.