Skip to content

Commit 846b9e5

Browse files
authored
Merge pull request #371 from jrha/dockerfile-main
Dockerfile: "master" branches are now called "main"
2 parents 6be942c + 8173ca6 commit 846b9e5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ FROM rockylinux:8
55
WORKDIR /quattor
66

77
# install library core in /quattor, tests need it
8-
ADD https://codeload.github.com/quattor/template-library-core/tar.gz/master template-library-core-master.tar.gz
9-
RUN tar -xzf template-library-core-master.tar.gz
8+
ADD https://codeload.github.com/quattor/template-library-core/tar.gz/main template-library-core-main.tar.gz
9+
RUN tar -xzf template-library-core-main.tar.gz
1010

1111
# point library core to where we downloaded it
12-
ENV QUATTOR_TEST_TEMPLATE_LIBRARY_CORE /quattor/template-library-core-master
12+
ENV QUATTOR_TEST_TEMPLATE_LIBRARY_CORE /quattor/template-library-core-main
1313

1414
# Prepare to install dependencies
1515
RUN dnf -y install dnf-plugins-core && \
@@ -28,7 +28,9 @@ RUN dnf install -y maven which rpm-build panc ncm-lib-blockdevices \
2828
perl-Net-OpenStack-Client perl-NetAddr-IP perl-REST-Client \
2929
perl-Set-Scalar perl-Text-Glob cpanminus gcc wget \
3030
perl-Git-Repository perl-Data-Structure-Util \
31-
perl-Test-Quattor aii-ks procps-ng rpm-build
31+
aii-ks procps-ng rpm-build
32+
33+
RUN dnf install -y http://yum.quattor.org/23.6.0/el8/perl-Test-Quattor-23.6.0-1.noarch.rpm
3234

3335
# quattor tests should not be run as root
3436
RUN useradd --user-group --create-home --no-log-init --home-dir /quattor_test quattortest

0 commit comments

Comments
 (0)