Re3gistry/Dockerfile

21 lines
755 B
Docker
Raw Normal View History

2023-05-19 13:46:30 +00:00
# build runtime image
FROM alpine:3.17.3
RUN apk update \
&& apk add \
apache2 \
apache2-proxy \
openjdk8-jre-base
RUN mkdir /opt/tomcat \
&& wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.75/bin/apache-tomcat-9.0.75.tar.gz \
2023-08-31 07:57:49 +00:00
&& tar xvzf apache-tomcat-9.0.75.tar.gz --strip-components 1 --directory /opt/tomcat
RUN sed -i 's/TLSv1, TLSv1.1,//g' /usr/lib/jvm/java-1.8-openjdk/jre/lib/security/java.security
2023-05-19 13:46:30 +00:00
COPY re3gistry/dist /opt/re3gistry
COPY start.sh /opt/re3gistry/
COPY httpd-vhosts.conf /etc/apache2/conf.d/
COPY httpd.conf /etc/apache2/
2023-08-31 07:57:49 +00:00
COPY public_html /var/www/localhost/htdocs/
2023-11-27 19:24:22 +00:00
COPY server.xml /opt/tomcat/conf
2023-05-19 13:46:30 +00:00
WORKDIR /opt/re3gistry
2023-08-30 09:20:39 +00:00
RUN chmod +x start.sh
2023-05-19 13:46:30 +00:00
ENTRYPOINT [ "/opt/re3gistry/start.sh" ]