Skip to content

Commit 0e86cf9

Browse files
committed
Removing buster, adding ubuntu 24.04
1 parent 4de522e commit 0e86cf9

File tree

8 files changed

+52
-56
lines changed

8 files changed

+52
-56
lines changed

.github/workflows/build-image-debian-buster.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# This is a basic workflow to help you get started with Actions
2+
name: create-build-images-ubuntu-2404
3+
# Controls when the action will run.
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the main branch
6+
push:
7+
branches: [main]
8+
pull_request:
9+
branches: [main]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
# This workflow contains a single job called "build"
17+
build:
18+
# The type of runner that the job will run on
19+
runs-on: ubuntu-latest
20+
21+
# Steps represent a sequence of tasks that will be executed as part of the job
22+
steps:
23+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24+
- name: Check out the repo
25+
uses: actions/checkout@v3
26+
- name: Set up QEMU
27+
uses: docker/setup-qemu-action@v2
28+
- name: Set up Docker Buildx
29+
id: buildx
30+
uses: docker/setup-buildx-action@v2
31+
- name: Available platforms
32+
run: echo ${{ steps.buildx.outputs.platforms }}
33+
# Runs a single command using the runners shell
34+
- name: Log in to GitHub Docker Registry
35+
uses: docker/login-action@v2
36+
with:
37+
registry: ghcr.io
38+
username: ${{ github.actor }}
39+
password: ${{ secrets.GITHUB_TOKEN }}
40+
41+
# Runs a set of commands using the runners shell
42+
- name: Build ubuntu-24.04 image
43+
uses: docker/build-push-action@v3
44+
with:
45+
push: true
46+
context: ./docker/ubuntu-2404
47+
tags: ghcr.io/go-graphite/go-graphite-build-ubuntu:24.04

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
OS="centos:7 rockylinux:8 rockylinux:9 ubuntu:18.04 ubuntu:20.04 ubuntu:22.04 debian:bullseye debian:bookworm debian:trixie"
2+
OS="centos:7 rockylinux:8 rockylinux:9 ubuntu:18.04 ubuntu:20.04 ubuntu:22.04 ubuntu:24.04 debian:bullseye debian:bookworm debian:trixie"
33
if [[ "${DRY_RUN}" == "true" ]]; then
44
OS="ubuntu:22.04"
55
fi

docker/rebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -e
3-
OS="ubuntu:18.04 ubuntu:20.04 ubuntu:22.04 ubuntu:24.04 debian:buster debian:bullseye debian:bookworm rockylinux:8 rockylinux:9 centos:7"
3+
OS="ubuntu:18.04 ubuntu:20.04 ubuntu:22.04 ubuntu:24.04 debian:bullseye debian:bookworm rockylinux:8 rockylinux:9 centos:7"
44
SQUASH=false
55
for i in ${OS}; do
66
folder=$(sed 's/:/-/g;s/\.//g' <<< ${i})
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
FROM debian:buster
1+
FROM ubuntu:24.04
22
MAINTAINER Vladimir Smirnov <[email protected]>
33

44
# Make sure the package repository is up to date.
55
ARG CACHE_DATE=20241015
6-
RUN apt-get update
7-
RUN apt-get install -y --allow-unauthenticated debian-archive-keyring
6+
ARG DEBIAN_FRONTEND=noninteractive
87
RUN apt-get update
98
RUN apt-get -y upgrade
10-
RUN apt-get install -y wget curl apt-utils git openssh-server libcairo2-dev mercurial build-essential lsb-release
9+
RUN apt-get install -y git openssh-server libcairo2-dev mercurial build-essential lsb-release curl
1110
RUN mkdir -p /var/run/sshd
1211

1312
# Install Go and other deps
File renamed without changes.

0 commit comments

Comments
 (0)