dockerfiles/gcalcli/Dockerfile
Volker 10cf8b8945
Update gcalcli image to python3 (#504)
The latest gcalcli uses shutil.get_terminal_size which isn't
backported to python2's shutil.
2020-05-14 22:48:34 -07:00

18 lines
316 B
Docker

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