Skip to content

Commit

Permalink
Switch to ubuntu noble #409 (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
GioF71 committed May 14, 2024
1 parent a41cecc commit 4e153ca
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docker-multi-arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
base: [ "jammy" ]
base: [ "noble" ]
build_mode: ["full", "renderer"]

steps:
Expand All @@ -35,6 +35,7 @@ jobs:
echo "REF: ["$ref"]"
declare -A base_images
base_images[noble]=ubuntu:noble
base_images[mantic]=ubuntu:mantic
base_images[lunar]=ubuntu:lunar
base_images[kinetic]=ubuntu:kinetic
Expand All @@ -49,8 +50,8 @@ jobs:
echo "Building build_key: ["$build_key"]";
declare -A special_tags
special_tags[jammy-full]="${image_name}:latest,${image_name}:latest-full,${image_name}:stable,${image_name}:ubuntu-lts-full,${image_name}:stable-full"
special_tags[jammy-renderer]="${image_name}:renderer,${image_name}:latest-renderer,${image_name}:stable-renderer,${image_name}:ubuntu-lts-renderer"
special_tags[noble-full]="${image_name}:latest,${image_name}:latest-full,${image_name}:stable,${image_name}:ubuntu-lts-full,${image_name}:stable-full"
special_tags[noble-renderer]="${image_name}:renderer,${image_name}:latest-renderer,${image_name}:stable-renderer,${image_name}:ubuntu-lts-renderer"
special_tags[mantic-full]="${image_name}:ubuntu-current-full"
special_tags[mantic-renderer]="${image_name}:ubuntu-current-renderer"
special_tags[bookworm-full]="${image_name}:debian-stable-full"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG BASE_IMAGE="${BASE_IMAGE:-ubuntu:jammy}"
ARG BASE_IMAGE="${BASE_IMAGE:-ubuntu:noble}"
FROM ${BASE_IMAGE} AS BASE
ARG BASE_IMAGE="${BASE_IMAGE:-ubuntu:jammy}"
ARG BASE_IMAGE="${BASE_IMAGE:-ubuntu:noble}"
ARG USE_PPA="${USE_PPA:-upnpp1}"
ARG BUILD_MODE="${BUILD_MODE:-full}"
ARG USE_APT_PROXY
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,8 @@ Please find a list of the currently built images in the following table.

Base Image|Build Mode|Tags
:---|:---:|:---
ubuntu:jammy|full|`latest` `latest-full` `stable` `stable-full` `ubuntu-lts-full` `jammy-full` `daily-jammy-full`
ubuntu:jammy|renderer|`renderer` `latest-renderer` `stable-renderer` `ubuntu-lts-renderer` `jammy-renderer` `daily-jammy-renderer`
ubuntu:mantic|full|`ubuntu-current-full` `mantic-full` `daily-mantic-full`
ubuntu:mantic|renderer|`ubuntu-current-renderer` `mantic-renderer` `daily-mantic-renderer`
ubuntu:noble|full|`latest` `latest-full` `stable` `stable-full` `ubuntu-lts-full` `noble-full` `daily-noble-full`
ubuntu:noble|renderer|`renderer` `latest-renderer` `stable-renderer` `ubuntu-lts-renderer` `noble-renderer` `daily-noble-renderer`
debian:bookworm-slim|full|`bookworm-full` `daily-bookworm-full`
debian:bookworm-slim|renderer|`bookworm-renderer` `daily-bookworm-renderer`

Expand Down
1 change: 1 addition & 0 deletions app/install/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if [ "$BUILD_MODE" = "full" ]; then
declare -A needs_switch
needs_switch[bookworm-slim]=1
needs_switch[mantic]=1
needs_switch[noble]=1
add_switch=0
if [[ -v needs_switch[$IMAGE_VERSION] ]]; then
add_switch=${needs_switch[$IMAGE_VERSION]}
Expand Down
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ declare -A base_images

base_images[bookworm]=debian:bookworm-slim
base_images[bullseye]=debian:bullseye-slim
base_images[noble]=ubuntu:noble
base_images[mantic]=ubuntu:mantic
base_images[lunar]=ubuntu:lunar
base_images[kinetic]=ubuntu:kinetic
base_images[jammy]=ubuntu:jammy
base_images[focal]=ubuntu:focal

DEFAULT_BASE_IMAGE=jammy
DEFAULT_BASE_IMAGE=noble
DEFAULT_TAG=local
DEFAULT_USE_PROXY=N
DEFAULT_PPA=upnpp1
Expand Down
1 change: 1 addition & 0 deletions doc/change-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Change Date|Major Changes
---|---
2024-05-14|Switch to ubuntu noble (see issue [#409](https://github.com/GioF71/upmpdcli-docker/issues/409))
2024-05-13|Set title for Mother Earth Radio (see issue [#407](https://github.com/GioF71/upmpdcli-docker/issues/407))
2024-05-10|Support for config file snippet (see issue [#401](https://github.com/GioF71/upmpdcli-docker/issues/401))
2024-05-01|Support for `subsonictitle` (see issue [#398](https://github.com/GioF71/upmpdcli-docker/issues/398))
Expand Down

0 comments on commit 4e153ca

Please sign in to comment.