dockerfiles/beeswithmachineguns/Dockerfile

25 lines
530 B
Docker
Raw Normal View History

FROM alpine:latest
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apk --no-cache add \
ca-certificates \
python \
py-boto \
py-future \
py-paramiko
RUN buildDeps=' \
build-base \
git \
python-dev \
' \
set -x \
&& apk --no-cache add $buildDeps \
&& git clone --depth 1 https://github.com/newsapps/beeswithmachineguns /usr/src/beeswithmachineguns \
&& cd /usr/src/beeswithmachineguns \
&& python setup.py install \
&& rm -rf /usr/src/beeswithmachineguns \
&& apk del $buildDeps
ENTRYPOINT [ "bees" ]