update various files

Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
Jessica Frazelle 2015-07-26 22:40:32 -07:00
parent 22b7de93b6
commit f2b0d9ce8a
8 changed files with 53 additions and 31 deletions

View File

@ -7,9 +7,14 @@ RUN apk update && apk add \
python \
py-pip \
&& rm -rf /var/cache/apk/* \
&& pip install awscli
RUN mkdir -p /root/.aws \
&& /bin/echo -e '[default]\noutput = json\nregion = $AMAZON_REGION\naws_access_key_id = $AMAZON_ACCESS_KEY_ID\naws_secret_access_key = $AMAZON_SECRET_ACCESS_KEY' > /root/.aws/config
&& pip install awscli \
&& mkdir -p /root/.aws \
&& { \
echo '[default]'; \
echo 'output = json'; \
echo 'region = $AMAZON_REGION'; \
echo 'aws_access_key_id = $AMAZON_ACCESS_KEY_ID'; \
echo 'aws_secret_access_key = $AMAZON_SECRET_ACCESS_KEY'; \
} > /root/.aws/config
ENTRYPOINT [ "aws" ]

View File

@ -4,12 +4,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
libcurl3-dev \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
# update gems
# and install cloudapp
RUN gem update --system \
&& gem update \
&& gem install gem-man cloudapp
&& rm -rf /var/lib/apt/lists/* \
&& gem install cloudapp
ENTRYPOINT ["cloudapp"]

View File

@ -1,2 +0,0 @@
---
sender: GmailSender

View File

@ -7,10 +7,16 @@ RUN gem update --system \
&& gem install syck
# install idonethis from git
RUN git clone https://github.com/influitive/idonethis.git /idonethis
RUN cd /idonethis; rake build; gem install /idonethis/pkg/idonethis-0.1.0.gem;
RUN git clone https://github.com/influitive/idonethis.git /idonethis \
&& cd /idonethis \
&& rake build \
&& gem install /idonethis/pkg/idonethis-0.1.0.gem \
&& rm -rf /idonethis \
&& { \
echo '---'; \
echo 'sender: GmailSender'; \
} > /root/.idonethisrc
COPY .idonethisrc /root/.idonethisrc
COPY main.sh /main.sh
ENTRYPOINT ["/main.sh"]

View File

@ -6,10 +6,18 @@
# --entrypoint bash \
# jess/imagemin
#
FROM node
FROM alpine
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN npm install --global imagemin
RUN apk update && apk add \
autoconf \
automake \
build-base \
file \
libpng-dev \
nasm \
nodejs \
&& rm -rf /var/cache/apk/* \
&& npm install --global imagemin
ENTRYPOINT [ "imagemin" ]
CMD [ "--help" ]
CMD [ "imagemin", "--help" ]

View File

@ -1,6 +1,17 @@
FROM python:2.7.8
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN pip install mitmproxy
RUN apk update && apk add \
build-base \
ca-certificates \
libffi-dev \
libxml2-dev \
libxslt-dev \
openssl-dev \
python \
python-dev \
py-pip \
&& rm -rf /var/cache/apk/* \
&& pip install mitmproxy
ENTRYPOINT [ "mitmproxy" ]
CMD [ "mitmproxy" ]

View File

@ -1,11 +1,11 @@
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apk update && apk add \
build-base \
ca-certificates \
ruby-dev \
build-base \
&& rm -rf /var/cache/apk/*
RUN gem install t
&& rm -rf /var/cache/apk/* \
&& gem install t
ENTRYPOINT [ "t" ]

View File

@ -19,13 +19,12 @@
#
# Base docker image
FROM debian:jessie
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
RUN apk update && apk add \
transmission-daemon \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /var/cache/apk/* \
&& mkdir -p /transmission/{download,watch,incomplete,config} \
&& chmod 1777 /transmission