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 and Ryan Gerstenkorn committed Apr 22, 2021
1 parent b4f3a69 commit 9b0e4b7
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 <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
Expand Down

0 comments on commit 9b0e4b7

Please sign in to comment.