File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed
Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,4 @@ composer.lock
2626* .orig
2727* .bak
2828core
29+ .idea
Original file line number Diff line number Diff line change 1+ FROM ubuntu:22.04
2+
3+ ARG DEBIAN_FRONTEND=noninteractive
4+
5+ ENV PHP_VERSION="8.3"
6+ ENV LANG en_US.UTF-8
7+ ENV LC_ALL en_US.UTF-8
8+
9+ RUN apt update -y && apt -y install git curl locales doxygen
10+
11+ RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
12+ locale-gen en_US.UTF-8 && \
13+ update-locale LANG=en_US.UTF-8 \
14+
15+ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
16+
17+ RUN apt install -y software-properties-common && add-apt-repository ppa:ondrej/php && apt update -y
18+
19+ RUN apt install -y \
20+ php${PHP_VERSION} \
21+ php${PHP_VERSION}-dev \
22+ php${PHP_VERSION}-xdebug \
23+ php${PHP_VERSION}-iconv \
24+ php${PHP_VERSION}-bcmath \
25+ php${PHP_VERSION}-tidy
26+
27+ RUN echo "xdebug.mode=debug,coverage" >> /etc/php/${PHP_VERSION}/cli/php.ini
28+
29+ WORKDIR /opt/htmlpurifier
Original file line number Diff line number Diff line change 1+ services :
2+ htmlpurifier :
3+ build :
4+ context : " ."
5+ dockerfile : Dockerfile
6+ container_name : ' htmlpurifier'
7+ tty : true
8+ volumes :
9+ - .:/opt/htmlpurifier
You can’t perform that action at this time.
0 commit comments