2015-08-05 09:36:17 +02:00
|
|
|
FROM alpine:latest
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2015-08-05 09:36:17 +02:00
|
|
|
|
2016-06-06 05:40:20 +02:00
|
|
|
RUN apk --no-cache add \
|
2015-08-05 09:36:17 +02:00
|
|
|
ca-certificates \
|
|
|
|
python \
|
|
|
|
py-boto \
|
2016-06-06 05:40:20 +02:00
|
|
|
py-paramiko
|
2015-08-05 09:36:17 +02:00
|
|
|
|
2017-09-01 20:54:08 +02:00
|
|
|
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 \
|
2015-08-05 10:14:32 +02:00
|
|
|
&& cd /usr/src/beeswithmachineguns \
|
|
|
|
&& python setup.py install \
|
2017-09-01 20:54:08 +02:00
|
|
|
&& rm -rf /usr/src/beeswithmachineguns \
|
|
|
|
&& apk del $buildDeps
|
2015-08-05 10:14:32 +02:00
|
|
|
|
|
|
|
ENTRYPOINT [ "bees" ]
|