mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-11 15:36:13 -04:00
Simplify docker config (#3584)
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
FROM php:8.2-apache AS ospos
|
||||
FROM php:8-apache AS ospos
|
||||
LABEL maintainer="jekkos"
|
||||
|
||||
RUN apt update && apt-get install -y libicu-dev libgd-dev && apt clean
|
||||
# workaround for travis docker issue (https://stackoverflow.com/questions/71941032/why-i-cannot-run-apt-update-inside-a-fresh-ubuntu22-04)
|
||||
RUN sed -i -e 's/^APT/# APT/' -e 's/^DPkg/# DPkg/' /etc/apt/apt.conf.d/docker-clean
|
||||
RUN apt update && apt-get install -y libicu-dev libgd-dev
|
||||
|
||||
RUN a2enmod rewrite headers
|
||||
RUN docker-php-ext-install mysqli bcmath intl gd
|
||||
|
||||
Reference in New Issue
Block a user