convert some to alpine

Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
Jessica Frazelle 2015-07-26 20:46:56 -07:00
parent 5a9daf833a
commit d96d372830
6 changed files with 38 additions and 20 deletions

View File

@ -1,9 +1,16 @@
FROM python:2.7.8
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN pip install boto
RUN apk update && apk add \
ca-certificates \
openssl \
python \
python-dev \
py-pip \
build-base \
&& rm -rf /var/cache/apk/* \
&& pip install boto
ADD reset-cache.py /bin/reset-cache
RUN chmod +x /bin/reset-cache
COPY ./reset-cache.py /bin/reset-cache.py
CMD [ "reset-cache" ]
CMD [ "/usr/bin/python", "/bin/reset-cache.py" ]

0
cf-reset-cache/reset-cache.py Normal file → Executable file
View File

View File

@ -1,13 +1,19 @@
FROM python:2.7.8
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
ENV HOME /home/gcalcli
RUN useradd --create-home --home-dir $HOME gcalcli \
&& chown -R gcalcli:gcalcli $HOME
RUN pip install vobject parsedatetime gcalcli
RUN apk update && apk add \
python \
python-dev \
py-pip \
build-base \
&& rm -rf /var/cache/apk/* \
&& adduser -S gcalcli \
&& chown -R gcalcli $HOME \
&& pip install vobject parsedatetime gcalcli
WORKDIR $HOME
USER gcalcli
ENTRYPOINT [ "/usr/local/bin/gcalcli" ]
ENTRYPOINT [ "gcalcli" ]

View File

@ -4,12 +4,11 @@
# --pid host \
# jess/htop
#
FROM debian:sid
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
RUN apk update && apk add \
htop \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/cache/apk/*
CMD [ "htop" ]

View File

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

View File

@ -1,9 +1,8 @@
FROM debian:sid
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
RUN apk update && apk add \
imagemagick \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/cache/apk/*
CMD [ "echo", "Use one of the following commands [ animate | compare | composite | conjure | convert | display | identify | import | mogrify | montage | stream ]" ]