Skip to content

Commit

Permalink
Update gcalcli image to python3 (jessfraz#504)
Browse files Browse the repository at this point in the history
The latest gcalcli uses shutil.get_terminal_size which isn't
backported to python2's shutil.
  • Loading branch information
volker-fr authored May 15, 2020
1 parent 2e08384 commit 10cf8b8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions gcalcli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ LABEL maintainer "Jessie Frazelle <[email protected]>"
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
Expand Down

0 comments on commit 10cf8b8

Please sign in to comment.