File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
FROM centos:8
2
2
3
3
# add this to avoid locale warnings
4
- RUN yum -y install glibc-locale-source glibc-langpack-en
4
+ RUN dnf -y install glibc-locale-source glibc-langpack-en
5
5
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
6
6
7
7
# add utils for repos
@@ -12,7 +12,7 @@ RUN dnf -y install http://rpms.remirepo.net/enterprise/remi-release-8.rpm
12
12
# enable mariadb repo
13
13
RUN wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup && bash mariadb_repo_setup
14
14
# enable the postgresql repo
15
- RUN yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
15
+ RUN dnf -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
16
16
# enable epel repo
17
17
RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
18
18
# enable powertools repos
@@ -24,9 +24,9 @@ RUN dnf -y module reset php && dnf -y module enable php:remi-7.4
24
24
RUN dnf -y module disable mariadb
25
25
RUN dnf -y module disable postgresql
26
26
27
- RUN yum -y install \
28
- php-cli php-xml \
29
- MariaDB-server MariaDB-client php-mysqlnd php-json \
27
+ RUN dnf -y install \
28
+ php-cli php-xml php-json \
29
+ MariaDB-server MariaDB-client php-mysqlnd \
30
30
postgresql12 postgresql12-server php-pgsql postgis30_12 \
31
31
sqlite php-sqlite3 \
32
32
git wget
You can’t perform that action at this time.
0 commit comments