Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admissions pdf php8.3 #28

Draft
wants to merge 4 commits into
base: openshift-4.x-php8.3
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -64,6 +64,12 @@ RUN apt-get update \
telnet \
unzip \
wget \
# Install wkhtmltopdf dependencies.
fontconfig \
libxext6 \
libxrender1 \
xfonts-75dpi \
xfonts-base \
&& apt-get -y autoremove && apt-get -y autoclean && apt-get clean && rm -rf /var/lib/apt/lists /tmp/* /var/tmp/*

# NewRelic is disabled by default.
@@ -85,6 +91,14 @@ RUN wget -q -O - https://getcomposer.org/installer | php -- --install-dir=/usr/l
RUN wget -q -O /usr/local/bin/local-php-security-checker https://github.com/fabpot/local-php-security-checker/releases/download/v2.0.6/local-php-security-checker_2.0.6_linux_amd64 \
&& chmod +rx /usr/local/bin/local-php-security-checker

# Install wkhtmltopdf.
RUN wget -q http://ftp.au.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_2.1.5-2_amd64.deb -O /tmp/libjpeg62-turbo.deb \
&& dpkg -i /tmp/libjpeg62-turbo.deb \
&& rm -f /tmp/libjpeg62-turbo.deb
RUN wget -q https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_amd64.deb -O /tmp/wkhtmltopdf.deb \
&& dpkg -i /tmp/wkhtmltopdf.deb \
&& rm -f /tmp/wkhtmltopdf.deb

# Apache config.
COPY ./files/apache2.conf /etc/apache2/apache2.conf
COPY ./files/mpm_prefork.conf /etc/apache2/mods-available/mpm_prefork.conf
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -5,10 +5,10 @@ build:
docker build -t $(IMAGE_NAME) .

tag:
docker tag $(IMAGE_NAME) uofa/s2i-shepherd-drupal:openshift-4.x-22.04-php8.1
docker tag $(IMAGE_NAME) uofa/s2i-shepherd-drupal:admissions-pdf-php8.3

push:
docker push uofa/s2i-shepherd-drupal:openshift-4.x-22.04-php-8.1
docker push uofa/s2i-shepherd-drupal:admissions-pdf-php8.3

.PHONY: test
test: