Update gcalcli image to python3 (#504)

The latest gcalcli uses shutil.get_terminal_size which isn't
backported to python2's shutil.
This commit is contained in:
Volker
2020-05-15 00:48:34 -05:00
committed by GitHub
parent 2e08384858
commit 10cf8b8945

View File

@@ -4,13 +4,12 @@ LABEL maintainer "Jessie Frazelle <jess@linux.com>"
ENV HOME /home/gcalcli
RUN apk --no-cache add \
python \
python-dev \
py2-pip \
python3 \
python3-dev \
build-base \
&& adduser -S gcalcli \
&& chown -R gcalcli $HOME \
&& pip install vobject parsedatetime gcalcli
&& pip3 install vobject parsedatetime gcalcli
WORKDIR $HOME
USER gcalcli