dockerfiles/gcalcli/Dockerfile
Jess Frazelle 3c1634b3d0
fix py2
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-01-10 16:14:50 -08:00

19 lines
316 B
Docker

FROM alpine:latest
MAINTAINER Jessie Frazelle <jess@linux.com>
ENV HOME /home/gcalcli
RUN apk --no-cache add \
python \
python-dev \
py2-pip \
build-base \
&& adduser -S gcalcli \
&& chown -R gcalcli $HOME \
&& pip install vobject parsedatetime gcalcli
WORKDIR $HOME
USER gcalcli
ENTRYPOINT [ "gcalcli" ]