22 lines
479 B
Docker
22 lines
479 B
Docker
FROM ubuntu:20.04
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
# install: php / mysql / postgres / sqlite / tools
|
|
RUN apt-get update && apt-get -y install \
|
|
php-cli php-xml php-mbstring \
|
|
mysql-server mysql-client php-mysql \
|
|
postgresql php-pgsql \
|
|
postgresql-12-postgis-3 \
|
|
sqlite3 php-sqlite3 \
|
|
git wget
|
|
|
|
# install locales
|
|
RUN apt-get -y install locales
|
|
RUN locale-gen en_US.UTF-8
|
|
RUN update-locale LANG=en_US.UTF-8
|
|
|
|
# install run script
|
|
ADD run.sh /usr/sbin/docker-run
|
|
CMD docker-run
|