Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing libelf dependency to kernel-module-injector image #120

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
11 changes: 11 additions & 0 deletions dockerfiles/drbd-driver-loader/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ubuntu:bionic

ARG DRBD_VERSION=9.1.5

RUN apt-get update && apt-get upgrade -y && apt-get install -y kmod gnupg wget make gcc patch curl libelf-dev && apt-get clean

RUN wget https://github.com/LINBIT/drbd/archive/refs/tags/drbd-${DRBD_VERSION}.tar.gz -O /drbd.tar.gz && \
wget https://github.com/LINBIT/drbd/raw/drbd-${DRBD_VERSION}/docker/entry.sh -O /entry.sh && chmod +x /entry.sh

ENV LB_HOW compile
ENTRYPOINT [ "/entry.sh" ]
2 changes: 1 addition & 1 deletion dockerfiles/drbd-driver-loader/Dockerfile.bionic
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MAINTAINER Roland Kammerer <[email protected]>

ARG DRBD_VERSION

RUN apt-get update && apt-get upgrade -y && apt-get install -y kmod gnupg wget make gcc patch curl && apt-get clean
RUN apt-get update && apt-get upgrade -y && apt-get install -y kmod gnupg wget make gcc patch curl libelf-dev && apt-get clean

RUN wget https://pkg.linbit.com/downloads/drbd/9/drbd-${DRBD_VERSION}.tar.gz -O /drbd.tar.gz && \
wget https://raw.githubusercontent.com/LINBIT/drbd/master/docker/entry.sh -O /entry.sh && chmod +x /entry.sh
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/drbd-driver-loader/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MAINTAINER Roland Kammerer <[email protected]>
ARG DRBD_VERSION

RUN yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical && \
yum install -y wget gcc make patch curl ca-certificates kmod && yum clean all -y
yum install -y wget gcc make patch curl ca-certificates elfutils-libelf-devel kmod && yum clean all -y

RUN wget https://pkg.linbit.com/downloads/drbd/9/drbd-${DRBD_VERSION}.tar.gz -O /drbd.tar.gz && \
wget https://raw.githubusercontent.com/LINBIT/drbd/master/docker/entry.sh -O /entry.sh && chmod +x /entry.sh
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/drbd-driver-loader/Dockerfile.focal
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MAINTAINER Roland Kammerer <[email protected]>

ARG DRBD_VERSION

RUN apt-get update && apt-get upgrade -y && apt-get install -y kmod gnupg wget make gcc patch elfutils curl && apt-get clean
RUN apt-get update && apt-get upgrade -y && apt-get install -y kmod gnupg wget make gcc patch elfutils curl libelf-dev && apt-get clean

RUN wget https://pkg.linbit.com/downloads/drbd/9/drbd-${DRBD_VERSION}.tar.gz -O /drbd.tar.gz && \
wget https://raw.githubusercontent.com/LINBIT/drbd/master/docker/entry.sh -O /entry.sh && chmod +x /entry.sh
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/drbd-driver-loader/Dockerfile.jammy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:jammy

ARG DRBD_VERSION

RUN apt-get update && apt-get upgrade -y && apt-get install -y kmod gnupg wget make gcc patch elfutils curl && apt-get clean
RUN apt-get update && apt-get upgrade -y && apt-get install -y kmod gnupg wget make gcc patch elfutils curl libelf-dev && apt-get clean

RUN wget https://pkg.linbit.com/downloads/drbd/9/drbd-${DRBD_VERSION}.tar.gz -O /drbd.tar.gz && \
wget https://raw.githubusercontent.com/LINBIT/drbd/master/docker/entry.sh -O /entry.sh && chmod +x /entry.sh
Expand Down