Skip to content

Commit 74c8b53

Browse files
committed
Enh: TEST fedora-42 now have a faster docker image for tests
1 parent 38a57b7 commit 74c8b53

12 files changed

+35
-115
lines changed

test/docker-files/TEMPLATE-centos7-PYTHON3.txt

-24
This file was deleted.

test/docker-files/TEMPLATE-centos7.txt

-26
This file was deleted.

test/docker-files/TEMPLATE-debian9-PYTHON3.txt

-25
This file was deleted.

test/docker-files/TEMPLATE-debian9.txt

-24
This file was deleted.
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM fedora:42
2+
LABEL maintainer="Jean Gabes <naparuba@gmail.com>"
3+
4+
# THIS DOCKER FILE is USED TO PUSH TO naparuba/fedora-42 so tests will be faster, and won't need to recompute all of this every time
5+
6+
ADD test/docker-helper/ /
7+
8+
RUN /dnf_install python3-rpm
9+
RUN /dnf_install python3-jinja2
10+
RUN /dnf_install python3-crypto
11+
RUN /dnf_install python3-simplejson
12+
RUN /dnf_install bash-completion # Bash completion to enable the CLI completion
13+
RUN /dnf_install leveldb
14+
RUN /dnf_install python3-setproctitle
15+
RUN /dnf_install python3-psutil
16+
RUN /dnf_install python3-yaml
17+
18+
ENV PYTHON_EXE=/usr/bin/python3
19+
20+
21+
ENTRYPOINT /bin/bash

test/docker-files/docker-file-COMPLIANCE-PACKAGE-INSTALL-fedora42.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
FROM fedora:42
2-
LABEL maintainer="Jean Gabes <naparuba@gmail.com>"
1+
FROM naparuba/fedora-42
2+
LABEL maintainer="Jean Gabes <naparuba@gmail.com>"
33

4-
ADD test/docker-helper/ /
5-
RUN /dnf_install python3
64

75
# Need for debug and test
86
RUN /dnf_install procps

test/docker-files/docker-file-MODULE-discord-module-fedora42.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fedora:42
1+
FROM naparuba/fedora-42
22
LABEL maintainer="Jean Gabes <naparuba@gmail.com>"
33

44

test/docker-files/docker-file-MODULE-dns-module-fedora42.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM fedora:42
1+
FROM naparuba/fedora-42
22
LABEL maintainer="Jean Gabes <naparuba@gmail.com>"
33

44

55
# DNS: need dig
6-
RUN /yum_install bind-utils
6+
RUN /dnf_install bind-utils
77

88
ADD . /root/opsbro-oss
99

test/docker-files/docker-file-PACK-MONGODB-fedora42.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM fedora:42
22
LABEL maintainer="Jean Gabes <naparuba@gmail.com>"
33

4-
4+
ADD test/docker-helper/ /
55

66
ADD . /root/opsbro-oss
77
WORKDIR /root/opsbro-oss

test/docker-files/docker-file-PACK-MYSQL-fedora42.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM almalinux:9.3
2-
LABEL maintainer="Jean Gabes <naparuba@gmail.com>"
1+
FROM naparuba/fedora-42
2+
LABEL maintainer="Jean Gabes <naparuba@gmail.com>"
33

44

5-
RUN /yum_install mariadb-server
5+
RUN /dnf_install mariadb-server
66

77
RUN mysql_install_db --user=mysql --basedir=/usr/ --ldata=/var/lib/mysql/
88

test/docker-files/docker-file-PACK-RABBITMQ-fedora42.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM fedora:42
2-
LABEL maintainer="Jean Gabes <naparuba@gmail.com>"
1+
FROM naparuba/fedora-42
2+
LABEL maintainer="Jean Gabes <naparuba@gmail.com>"
33

44

5-
RUN /yum_install rabbitmq-server
5+
RUN /dnf_install rabbitmq-server
66

77
ADD . /root/opsbro-oss
88
WORKDIR /root/opsbro-oss

test/docker-files/docker-file-PACK-REDIS-fedora42.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM fedora:42
1+
FROM naparuba/fedora-42
22
LABEL maintainer="Jean Gabes <naparuba@gmail.com>"
33

44

5-
RUN /yum_install redis
5+
RUN /dnf_install redis
66

77
ADD . /root/opsbro-oss
88
WORKDIR /root/opsbro-oss

0 commit comments

Comments
 (0)