Signed-off-by: Jess Frazelle <me@jessfraz.com>
This commit is contained in:
Jess Frazelle 2016-09-19 13:08:09 -07:00
parent 38fb6ec212
commit 0c2e49733e
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
3 changed files with 12 additions and 16 deletions

View File

@ -1,22 +1,20 @@
FROM debian:wheezy
FROM java:7-alpine
MAINTAINER Jessica Frazelle <jess@docker.com>
EXPOSE 1049
RUN apt-get update && apt-get install -y \
RUN apk add --no-cache \
ca-certificates \
curl \
openjdk-6-jre \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
tar
ENV LANG C.UTF-8
ENV ATD_VERSION 081310
RUN curl -sSL "http://www.polishmywriting.com/download/atd_distribution081310.tgz" -o /tmp/atd.tar.gz \
RUN curl -sSL "http://www.polishmywriting.com/download/atd_distribution${ATD_VERSION}.tgz" -o /tmp/atd.tar.gz \
&& mkdir -p /usr/src/atd \
&& tar -xzf /tmp/atd.tar.gz -C /usr/src/atd --strip-components 1 \
&& rm /tmp/atd.tar.gz*
&& rm /tmp/atd.tar.gz*
WORKDIR /usr/src/atd
EXPOSE 1049
ENTRYPOINT [ "sh", "-c", "/usr/src/atd/run.sh" ]

View File

@ -1,11 +1,9 @@
FROM debian:wheezy
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
ca-certificates \
python-boto \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN apk add --no-cache \
py-boto
COPY ./reset-cache.py /bin/reset-cache.py

View File

@ -1,4 +1,4 @@
FROM java:openjdk-7-jdk-alpine
FROM java:7-alpine
ENV ZOOKEEPER_VERSION 3.4.8
ENV PATH $PATH:/opt/zookeeper/bin/