1
0
mirror of https://github.com/bgp/bgpq4.git synced 2024-05-11 05:55:05 +00:00

Work around broken Docker image by Rocky Linux (until CentOS 7 is EOL) (#114)

This commit is contained in:
Robert Scheck
2024-05-10 12:16:04 +02:00
committed by GitHub
parent 424770be0b
commit 4ab84255a4

View File

@ -2,8 +2,8 @@ ARG image=centos/centos:latest
FROM quay.io/$image
# Install dependencies
RUN yum update -y
RUN yum install -y autoconf automake gcc libtool make diffutils file gzip
RUN if command -v yum > /dev/null; then dnf=yum; fi; ${dnf:-dnf} update -y
RUN if command -v yum > /dev/null; then dnf=yum; fi; ${dnf:-dnf} install -y autoconf automake gcc libtool make diffutils file gzip
# Add source code
ADD . /src