mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 03:21:28 +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>
|
||||
|
||||
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
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>
|
||||
|
||||
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" ]
|
||||
|
|
|
@ -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" ]
|
||||
|
|
|
@ -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" ]
|
||||
|
|
|
@ -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 ]" ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user