Squashed 'seatmap-webapi/' content from commit 02d4bf7
git-subtree-dir: seatmap-webapi git-subtree-split: 02d4bf7404b8fcb788502ca45c813946b6c4f5b9
This commit is contained in:
36
docker/centos8/Dockerfile
Normal file
36
docker/centos8/Dockerfile
Normal file
@@ -0,0 +1,36 @@
|
||||
FROM centos:8
|
||||
|
||||
# add this to avoid locale warnings
|
||||
RUN dnf -y install glibc-locale-source glibc-langpack-en
|
||||
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
|
||||
|
||||
# add utils for repos
|
||||
RUN dnf -y install wget dnf-utils
|
||||
|
||||
# enable remi repo for php
|
||||
RUN dnf -y install http://rpms.remirepo.net/enterprise/remi-release-8.rpm
|
||||
# enable mariadb repo
|
||||
RUN wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup && bash mariadb_repo_setup
|
||||
# enable the postgresql repo
|
||||
RUN dnf -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
|
||||
# enable epel repo
|
||||
RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
|
||||
# enable powertools repos
|
||||
RUN dnf -y install 'dnf-command(config-manager)' && dnf -y config-manager --set-enabled PowerTools
|
||||
|
||||
# set php to remi 7.4
|
||||
RUN dnf -y module reset php && dnf -y module enable php:remi-7.4
|
||||
# disable mariadb and postgresql default (appstream) repo
|
||||
RUN dnf -y module disable mariadb
|
||||
RUN dnf -y module disable postgresql
|
||||
|
||||
RUN dnf -y install \
|
||||
php-cli php-xml php-json php-mbstring \
|
||||
MariaDB-server MariaDB-client php-mysqlnd \
|
||||
postgresql12 postgresql12-server php-pgsql postgis30_12 \
|
||||
sqlite php-sqlite3 \
|
||||
git wget
|
||||
|
||||
# install run script
|
||||
ADD run.sh /usr/sbin/docker-run
|
||||
CMD docker-run
|
||||
Reference in New Issue
Block a user