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

Install php-cas from release #33

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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions php-cas/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ RUN yum -y update \
&& yum -y install ant doxygen git php-pear \
&& yum -y clean all

RUN git clone --depth=1 --branch=1.3-stable https://github.com/apereo/phpCAS.git apereo/phpCAS \
&& pear upgrade --force --alldeps \
&& cd apereo/phpCAS/utils \
&& pear install --onlyreqdeps PEAR_PackageFileManager2-beta \
&& ant dist -Ddoxygen.path=/usr/bin/doxygen -Dphp.path=/usr/bin/php

FROM centos:centos7

MAINTAINER Unicon, Inc.
Expand All @@ -18,10 +12,10 @@ RUN yum -y update \
&& yum -y install httpd mod_ssl php php-pear php-xml php-pdo wget \
&& yum -y clean all

COPY --from=stage /apereo/phpCAS/utils/dist/CAS-1.3.4.tgz /
RUN wget https://github.com/apereo/phpCAS/releases/download/1.3.8/CAS-1.3.8.tgz \
&& tar zxvpf CAS-1.3.8.tgz

RUN pear install CAS-1.3.4.tgz \
&& rm /CAS-1.3.4.tgz
RUN pear install CAS-1.3.8.tgz

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't you also delete CAS-1.3.8 here?


COPY httpd-foreground /usr/local/bin/
COPY etc-httpd/ /etc/httpd/
Expand Down