2016-10-08 03:26:38 +02:00
|
|
|
FROM java:8-alpine
|
2016-09-20 00:25:05 +02:00
|
|
|
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
|
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" ]
|