Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
grouper_noVM/web-base/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
34 lines (26 sloc)
1.17 KB
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
FROM tier/grouper-api:2.3.0 | |
MAINTAINER tier-packaging@internet2.edu <tier-packaging@internet2.edu> | |
##tomcat | |
ENV TOMCAT_MAJOR=8 | |
ENV TOMCAT_VERSION="8.5.24" | |
ENV TOMCAT_TGZ_URL=https://www.apache.org/dist/tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz | |
##ant | |
ENV ANT_VERSION="1.10.1" | |
RUN yum update -y \ | |
&& yum install -y wget unzip dos2unix \ | |
&& yum clean all \ | |
\ | |
&& echo 'Downloading Tomcat...' \ | |
&& wget -q -O tomcat.tar.gz "$TOMCAT_TGZ_URL" \ | |
&& echo "9e26ba61c5665aafc849073edeb769be555283cd tomcat.tar.gz" | sha1sum -c - \ | |
&& tar -zxf tomcat.tar.gz -C /opt \ | |
&& rm tomcat.tar.gz \ | |
&& find /opt/apache-tomcat-$TOMCAT_VERSION/bin/ -name "*.sh" -exec chmod a+x {} \; | |
RUN echo 'Downloading Ant...'\ | |
&& wget -q -O ant.zip https://archive.apache.org/dist/ant/binaries/apache-ant-$ANT_VERSION-bin.zip \ | |
&& unzip ant.zip -d /opt \ | |
&& echo "fa9acb3b1987f8acf2aa7a87894d1fd9da80e871 ant.zip" | sha1sum -c - \ | |
&& rm -rf ant.zip /opt/apache-tomcat-$TOMCAT_VERSION/webapps/* \ | |
&& chmod +x /opt/apache-ant-$ANT_VERSION/bin/ant | |
EXPOSE 8080 | |
CMD ["/opt/apache-tomcat-8.5.23/bin/catalina.sh", "run"] |