mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
update more images to use alpine
Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
parent
d96d372830
commit
22b7de93b6
|
@ -7,3 +7,5 @@ if a file you are looking at does not have a command, please
|
|||
pull request it!
|
||||
|
||||
Almost all of these live on dockerhub under [jess](https://registry.hub.docker.com/repos/jess/).
|
||||
|
||||
You may also want to checkout my [dotfiles](https://github.com/jfrazelle/dotfiles), specifically the aliases for all these files which are here: [github.com/jfrazelle/dotfiles/blob/master/.dockerfunc](https://github.com/jfrazelle/dotfiles/blob/master/.dockerfunc).
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
FROM python:2.7.8
|
||||
FROM alpine:latest
|
||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||
|
||||
RUN apt-get update && apt-get install -y groff
|
||||
RUN pip install awscli
|
||||
RUN apk update && apk add \
|
||||
ca-certificates \
|
||||
groff \
|
||||
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
|
||||
|
|
|
@ -3,13 +3,8 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
|
|||
|
||||
RUN apk update && apk add \
|
||||
ca-certificates \
|
||||
openssl \
|
||||
python \
|
||||
python-dev \
|
||||
py-pip \
|
||||
build-base \
|
||||
&& rm -rf /var/cache/apk/* \
|
||||
&& pip install boto
|
||||
py-boto \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
COPY ./reset-cache.py /bin/reset-cache.py
|
||||
|
||||
|
|
|
@ -4,9 +4,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
|
|||
RUN apk update && apk add \
|
||||
ca-certificates \
|
||||
python \
|
||||
python-dev \
|
||||
py-pip \
|
||||
build-base \
|
||||
&& rm -rf /var/cache/apk/* \
|
||||
&& pip install httpie httpie-unixsocket
|
||||
|
||||
|
|
|
@ -7,17 +7,20 @@
|
|||
# --name rainbowstream \
|
||||
# jess/rainbowstream
|
||||
#
|
||||
FROM python:latest
|
||||
FROM alpine:latest
|
||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libjpeg-dev \
|
||||
libfreetype6 \
|
||||
libfreetype6-dev \
|
||||
zlib1g-dev \
|
||||
--no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install rainbowstream
|
||||
RUN apk update && apk add \
|
||||
build-base \
|
||||
ca-certificates \
|
||||
freetype \
|
||||
freetype-dev \
|
||||
openjpeg-dev \
|
||||
python \
|
||||
python-dev \
|
||||
py-pip \
|
||||
zlib-dev \
|
||||
&& rm -rf /var/cache/apk/* \
|
||||
&& pip install rainbowstream
|
||||
|
||||
ENTRYPOINT [ "rainbowstream" ]
|
||||
|
|
|
@ -14,8 +14,6 @@ RUN useradd --create-home --home-dir $HOME user \
|
|||
&& chown -R user:user $HOME
|
||||
|
||||
WORKDIR $HOME
|
||||
VOLUME ["$HOME/.weechat"]
|
||||
USER user
|
||||
|
||||
ENTRYPOINT ["weechat"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user