Created
January 2, 2018 07:15
-
-
Save machu/898b78f274a7c4a2c2abee2aa35cb802 to your computer and use it in GitHub Desktop.
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 httpd:2.4 | |
ENV TDIARY_VERSION 5.0.7 | |
WORKDIR /usr/local/apache2/htdocs | |
RUN apt-get update && apt-get install -y \ | |
curl \ | |
ruby \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN curl -L "https://github.com/tdiary/tdiary-core/releases/download/v${TDIARY_VERSION}/tdiary-v${TDIARY_VERSION}.tar.gz" | tar zx \ | |
&& mv tdiary-v${TDIARY_VERSION} tdiary | |
COPY httpd.conf /usr/local/apache2/conf/httpd.conf | |
COPY index.cgi /usr/local/apache2/htdocs/index.cgi | |
CMD ["httpd-foreground"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment