Skip to content

Commit 386c5b3

Browse files
committed
comments
1 parent 3520a0f commit 386c5b3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docker/centos8/Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,24 @@ FROM centos:8
33
# add this to avoid locale warnings
44
RUN yum -y install glibc-locale-source glibc-langpack-en
55
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
6+
67
# add utils for repos
78
RUN dnf -y install wget dnf-utils
9+
810
# enable remi repo for php
911
RUN dnf -y install http://rpms.remirepo.net/enterprise/remi-release-8.rpm
12+
# enable mariadb repo
1013
RUN wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup && bash mariadb_repo_setup
1114
# enable the postgresql repo
1215
RUN yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
13-
# enable epel and powertools repos
16+
# enable epel repo
1417
RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
18+
# enable powertools repos
1519
RUN dnf -y install 'dnf-command(config-manager)' && dnf -y config-manager --set-enabled PowerTools
20+
1621
# set php to remi 7.4
1722
RUN dnf -y module reset php && dnf -y module enable php:remi-7.4
18-
# disable mariadb and postgresql appstream repo
23+
# disable mariadb and postgresql default (appstream) repo
1924
RUN dnf -y module disable mariadb
2025
RUN dnf -y module disable postgresql
2126

0 commit comments

Comments
 (0)