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

Adding xmlseclibs source files #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ ENV PHPMAILER_SOURCE https://github.com/PHPMailer/PHPMailer/
ARG PHPMAILER_VERSION=6.7.1
ENV PHPSAML_SOURCE https://github.com/onelogin/php-saml/
ARG PHPSAML_VERSION=3.4.1
ENV XMLSECLIBS_SOURCE https://github.com/robrichards/xmlseclibs
ARG XMLSECLIBS_VERSION=3.0.4
ENV WEB_REPO /var/www/html

# Install required deb packages
Expand Down Expand Up @@ -56,6 +58,10 @@ RUN tar -xzf /tmp/v${PHPMAILER_VERSION}.tar.gz -C ${WEB_REPO}/functions/PHPMaile
ADD ${PHPSAML_SOURCE}/archive/refs/tags/${PHPSAML_VERSION}.tar.gz /tmp/
RUN tar -xzf /tmp/${PHPSAML_VERSION}.tar.gz -C ${WEB_REPO}/functions/php-saml/ --strip-components=1

ADD ${XMLSECLIBS_SOURCE}/archive/refs/tags/${XMLSECLIBS_VERSION}.tar.gz /tmp/xmlseclibs-${XMLSECLIBS_VERSION}.tar.gz
RUN tar -xzf /tmp/xmlseclibs-${XMLSECLIBS_VERSION}.tar.gz -C ${WEB_REPO}/functions/xmlseclibs/ --strip-components=1 && \
chmod +rx -R ${WEB_REPO}/functions/xmlseclibs/

# Use system environment variables into config.php
ENV PHPIPAM_BASE /
RUN cp ${WEB_REPO}/config.dist.php ${WEB_REPO}/config.php && \
Expand Down