From c5bb27a3c6cbfb24a62044c29a3b4b8f1117e6d6 Mon Sep 17 00:00:00 2001 From: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com> Date: Wed, 24 Feb 2021 20:02:36 +0530 Subject: [PATCH] Use Debian bookworm as base In order to proceed with the rebase we need stable docker images with all the needed dependencies available. To do that switch to Debian Bookworm as mirror. This same approach was used in 788aa27aef9144a8bd2ab2f25fb7702955a40931. --- .gitlab-ci.yml | 6 +++--- base/Dockerfile | 2 +- base/rootfs.yaml | 15 +++------------ 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b3a3d2d..0250fdd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,9 +7,9 @@ stages: - publish images variables: - RELEASE: "v2024dev2" - DISTRO: apertis - MIRROR: https://repositories.apertis.org/apertis/ + RELEASE: "bookworm" + DISTRO: debian + MIRROR: https://deb.debian.org/debian/ STABLE: auto TEST_TAG: test-${CI_PIPELINE_ID} diff --git a/base/Dockerfile b/base/Dockerfile index a5ac53e..43fcfba 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -18,7 +18,7 @@ FROM scratch -ARG OSNAME=apertis +ARG OSNAME=debian LABEL description="$OSNAME base image" ENV LANG=C.UTF-8 diff --git a/base/rootfs.yaml b/base/rootfs.yaml index cbbdb6d..8f62a66 100644 --- a/base/rootfs.yaml +++ b/base/rootfs.yaml @@ -1,10 +1,10 @@ {{- $architecture := or .architecture "amd64" }} -{{- $mirror := or .mirror "https://repositories.apertis.org/apertis/" -}} -{{- $suite := or .suite "v2022dev2" -}} +{{- $mirror := or .mirror "https://deb.debian.org/debian/" -}} +{{- $suite := or .suite "bookworm" -}} {{- $ospack := or .ospack "rootfs.tar.gz" -}} {{- $timestamp := or .timestamp "00000000.0" -}} {{- $stable := or .stable "" -}} -{{- $osname := or .osname "apertis" -}} +{{- $osname := or .osname "debian" -}} architecture: {{ $architecture }} @@ -22,15 +22,6 @@ actions: - action: overlay source: overlay - - action: run - description: "Add extra apt sources" - chroot: true - script: scripts/apt_source.sh -m {{ $mirror }} -r {{ $suite }} --sources {{if eq $stable "true"}} --updates --security {{end}} target hmi development sdk - - - action: run - chroot: true - script: scripts/replace-gplv2-packages-for-dev-env.sh - - action: run description: "Setting up image version metadata" chroot: true -- GitLab