Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions dockerfiles/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ variable "CACHE" {

variable VERSIONS {
default = {
DRBD = ["9.2.13", "9.1.23"]
DRBD = ["9.2.14"]
DRBD_REACTOR = "1.8.0-1"
K8S_AWAIT_ELECTION = "v0.4.1"
KTLS_UTILS = "1.0.0-1"
KTLS_UTILS = "1.1.0-1"
LINSTOR = "1.31.1-1"
}
}
Expand Down Expand Up @@ -134,12 +134,10 @@ target "drbd-driver-loader" {
matrix = {
drbd_version = VERSIONS["DRBD"]
distro = [
"centos7",
"centos8",
"almalinux8",
"almalinux9",
"bionic",
"focal",
"almalinux10",
"jammy",
"noble",
"bullseye",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM centos:centos7
FROM almalinux:10
MAINTAINER Roland Kammerer <roland.kammerer@linbit.com>

RUN sed -e 's/^mirrorlist=/#mirrorlist=/' -e 's%^#baseurl=http://mirror.centos.org%baseurl=http://vault.centos.org%' -i /etc/yum.repos.d/*.repo && \
yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical && \
yum install -y gcc make patch diffutils perl kmod && yum clean all -y
RUN dnf -y update-minimal --security --sec-severity=Important --sec-severity=Critical && \
dnf install -y gcc make patch diffutils perl elfutils-libelf-devel kmod && dnf clean all -y

ARG DRBD_VERSION
ADD https://pkg.linbit.com/downloads/drbd/9/drbd-${DRBD_VERSION}.tar.gz /drbd.tar.gz
ADD --chmod=0755 https://raw.githubusercontent.com/LINBIT/drbd/master/docker/entry.sh /entry.sh

ENV LB_HOW compile

Check warning on line 11 in dockerfiles/drbd-driver-loader/Dockerfile.almalinux10

View workflow job for this annotation

GitHub Actions / build-and-push

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENTRYPOINT /entry.sh
24 changes: 0 additions & 24 deletions dockerfiles/drbd-driver-loader/Dockerfile.bionic

This file was deleted.

24 changes: 0 additions & 24 deletions dockerfiles/drbd-driver-loader/Dockerfile.focal

This file was deleted.

Loading