mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
convert some to alpine
Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
parent
5a9daf833a
commit
d96d372830
|
@ -1,9 +1,16 @@
|
||||||
FROM python:2.7.8
|
FROM alpine:latest
|
||||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
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
|
COPY ./reset-cache.py /bin/reset-cache.py
|
||||||
RUN chmod +x /bin/reset-cache
|
|
||||||
|
|
||||||
CMD [ "reset-cache" ]
|
CMD [ "/usr/bin/python", "/bin/reset-cache.py" ]
|
||||||
|
|
0
cf-reset-cache/reset-cache.py
Normal file → Executable file
0
cf-reset-cache/reset-cache.py
Normal file → Executable file
|
@ -1,13 +1,19 @@
|
||||||
FROM python:2.7.8
|
FROM alpine:latest
|
||||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
|
|
||||||
ENV HOME /home/gcalcli
|
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
|
WORKDIR $HOME
|
||||||
USER gcalcli
|
USER gcalcli
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/local/bin/gcalcli" ]
|
ENTRYPOINT [ "gcalcli" ]
|
||||||
|
|
|
@ -4,12 +4,11 @@
|
||||||
# --pid host \
|
# --pid host \
|
||||||
# jess/htop
|
# jess/htop
|
||||||
#
|
#
|
||||||
FROM debian:sid
|
FROM alpine:latest
|
||||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apk update && apk add \
|
||||||
htop \
|
htop \
|
||||||
--no-install-recommends \
|
&& rm -rf /var/cache/apk/*
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
CMD [ "htop" ]
|
CMD [ "htop" ]
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
FROM python:2.7.8
|
FROM alpine:latest
|
||||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
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" ]
|
ENTRYPOINT [ "http" ]
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
FROM debian:sid
|
FROM alpine:latest
|
||||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apk update && apk add \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
--no-install-recommends \
|
&& rm -rf /var/cache/apk/*
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
CMD [ "echo", "Use one of the following commands [ animate | compare | composite | conjure | convert | display | identify | import | mogrify | montage | stream ]" ]
|
CMD [ "echo", "Use one of the following commands [ animate | compare | composite | conjure | convert | display | identify | import | mogrify | montage | stream ]" ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user