2018-10-05 18:19:08 +02:00
|
|
|
FROM openjdk:8-alpine
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2015-05-06 02:57:13 +02:00
|
|
|
|
2016-09-19 22:08:09 +02:00
|
|
|
RUN apk add --no-cache \
|
2015-06-05 19:24:11 +02:00
|
|
|
ca-certificates \
|
|
|
|
curl \
|
2016-09-19 22:08:09 +02:00
|
|
|
tar
|
2015-05-06 02:57:13 +02:00
|
|
|
|
|
|
|
ENV LANG C.UTF-8
|
2017-06-09 20:00:18 +02:00
|
|
|
# https://open.afterthedeadline.com/download/download-source-code/
|
2016-09-19 22:08:09 +02:00
|
|
|
ENV ATD_VERSION 081310
|
2015-05-06 02:57:13 +02:00
|
|
|
|
2016-09-19 22:08:09 +02:00
|
|
|
RUN curl -sSL "http://www.polishmywriting.com/download/atd_distribution${ATD_VERSION}.tgz" -o /tmp/atd.tar.gz \
|
2015-06-05 19:24:11 +02:00
|
|
|
&& mkdir -p /usr/src/atd \
|
|
|
|
&& tar -xzf /tmp/atd.tar.gz -C /usr/src/atd --strip-components 1 \
|
2016-09-19 22:08:09 +02:00
|
|
|
&& rm /tmp/atd.tar.gz*
|
2015-05-06 02:57:13 +02:00
|
|
|
|
|
|
|
WORKDIR /usr/src/atd
|
2016-09-19 22:08:09 +02:00
|
|
|
EXPOSE 1049
|
2015-05-06 02:57:13 +02:00
|
|
|
|
|
|
|
ENTRYPOINT [ "sh", "-c", "/usr/src/atd/run.sh" ]
|