mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
cleanup
Signed-off-by: Jess Frazelle <me@jessfraz.com>
This commit is contained in:
parent
38fb6ec212
commit
0c2e49733e
|
@ -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" ]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue
Block a user