2021-07-05 00:01:04 -07:00
|
|
|
FROM httpd
|
|
|
|
COPY init.sh /init.sh
|
2021-08-01 12:57:30 -07:00
|
|
|
COPY healthcheck.sh /healthcheck.sh
|
2021-07-05 00:01:04 -07:00
|
|
|
RUN apt-get update && \
|
2021-08-01 10:36:32 -07:00
|
|
|
apt-get -y upgrade && \
|
2021-08-01 13:12:22 -07:00
|
|
|
apt-get -y install curl p7zip-full && \
|
|
|
|
chmod +x /init.sh && \
|
|
|
|
chmod +x /healthcheck.sh
|
2021-07-05 00:01:04 -07:00
|
|
|
WORKDIR /usr/local/apache2/htdocs/
|
|
|
|
RUN mkdir download
|
|
|
|
ENV IMG false
|
2021-08-01 12:59:10 -07:00
|
|
|
HEALTHCHECK --start-period=1m CMD /healthcheck.sh
|
2021-08-01 12:57:30 -07:00
|
|
|
CMD ["/bin/bash","/init.sh"]
|