mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 03:21:28 +01:00
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:
parent
2e08384858
commit
10cf8b8945
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user