-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving lineage for SP to Debian Jesse
- Loading branch information
Jim Van Fleet
committed
Jul 26, 2017
1 parent
8f60277
commit a08d49a
Showing
2 changed files
with
26 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,23 @@ | ||
| FROM tier/shibboleth_sp | ||
|
|
||
| # Define args and set a default value | ||
| ARG maintainer=tier | ||
| ARG imagename=siteadmin-sp | ||
| ARG version=1.0 | ||
|
|
||
| MAINTAINER $maintainer | ||
| LABEL Vendor="Internet2" | ||
| LABEL ImageType="SP" | ||
| LABEL ImageName=$imagename | ||
| LABEL ImageOS=centos7 | ||
| LABEL Version=$version | ||
|
|
||
| LABEL Build docker build --rm --tag $maintainer/$imagename . | ||
| FROM bigfleet/siteadmin:latest | ||
|
|
||
| # Installs Apache Passenger prereqs | ||
| RUN apt-get install -y dirmngr gnupg && \ | ||
| apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7 && \ | ||
| apt-get install -y apt-transport-https ca-certificates && \ | ||
| sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger jessie main > /etc/apt/sources.list.d/passenger.list' && \ | ||
| apt-get update && \ | ||
| apt-get install -y \ | ||
| apache2-threaded-dev \ | ||
| apache2-mpm-worker \ | ||
| libapache2-mod-passenger \ | ||
| odbc-postgresql \ | ||
| passenger \ | ||
| shibboleth-sp2-utils | ||
|
|
||
| ADD ./container_files /opt | ||
|
|
||
| RUN rm /etc/httpd/conf.d/ssl.conf && \ | ||
| cp /opt/etc/httpd/conf.d/*.conf /etc/httpd/conf.d/. && \ | ||
| cp /opt/etc/shibboleth/* /etc/shibboleth/. | ||
| RUN cp /opt/etc/httpd/conf.d/*.conf /etc/apache2/conf-available/. && \ | ||
| cp /opt/etc/shibboleth/* /etc/shibboleth/. && \ | ||
| a2enconf log && a2enconf shib | ||
|
|
||
| EXPOSE 80 443 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters