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!
|
pull request it!
|
||||||
|
|
||||||
Almost all of these live on dockerhub under [jess](https://registry.hub.docker.com/repos/jess/).
|
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>
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y groff
|
RUN apk update && apk add \
|
||||||
RUN pip install awscli
|
ca-certificates \
|
||||||
|
groff \
|
||||||
|
python \
|
||||||
|
py-pip \
|
||||||
|
&& rm -rf /var/cache/apk/* \
|
||||||
|
&& pip install awscli
|
||||||
|
|
||||||
RUN mkdir -p /root/.aws \
|
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
|
&& /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 \
|
RUN apk update && apk add \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
openssl \
|
py-boto \
|
||||||
python \
|
&& rm -rf /var/cache/apk/*
|
||||||
python-dev \
|
|
||||||
py-pip \
|
|
||||||
build-base \
|
|
||||||
&& rm -rf /var/cache/apk/* \
|
|
||||||
&& pip install boto
|
|
||||||
|
|
||||||
COPY ./reset-cache.py /bin/reset-cache.py
|
COPY ./reset-cache.py /bin/reset-cache.py
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
RUN apk update && apk add \
|
RUN apk update && apk add \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
python \
|
python \
|
||||||
python-dev \
|
|
||||||
py-pip \
|
py-pip \
|
||||||
build-base \
|
|
||||||
&& rm -rf /var/cache/apk/* \
|
&& rm -rf /var/cache/apk/* \
|
||||||
&& pip install httpie httpie-unixsocket
|
&& pip install httpie httpie-unixsocket
|
||||||
|
|
||||||
|
|
|
@ -7,17 +7,20 @@
|
||||||
# --name rainbowstream \
|
# --name rainbowstream \
|
||||||
# jess/rainbowstream
|
# jess/rainbowstream
|
||||||
#
|
#
|
||||||
FROM python:latest
|
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 \
|
||||||
libjpeg-dev \
|
build-base \
|
||||||
libfreetype6 \
|
ca-certificates \
|
||||||
libfreetype6-dev \
|
freetype \
|
||||||
zlib1g-dev \
|
freetype-dev \
|
||||||
--no-install-recommends \
|
openjpeg-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
python \
|
||||||
|
python-dev \
|
||||||
RUN pip install rainbowstream
|
py-pip \
|
||||||
|
zlib-dev \
|
||||||
|
&& rm -rf /var/cache/apk/* \
|
||||||
|
&& pip install rainbowstream
|
||||||
|
|
||||||
ENTRYPOINT [ "rainbowstream" ]
|
ENTRYPOINT [ "rainbowstream" ]
|
||||||
|
|
|
@ -14,8 +14,6 @@ RUN useradd --create-home --home-dir $HOME user \
|
||||||
&& chown -R user:user $HOME
|
&& chown -R user:user $HOME
|
||||||
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
VOLUME ["$HOME/.weechat"]
|
|
||||||
USER user
|
USER user
|
||||||
|
|
||||||
ENTRYPOINT ["weechat"]
|
ENTRYPOINT ["weechat"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user