mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-26 20:16:04 +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
|
ENV HOME /home/gcalcli
|
||||||
|
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
python \
|
python3 \
|
||||||
python-dev \
|
python3-dev \
|
||||||
py2-pip \
|
|
||||||
build-base \
|
build-base \
|
||||||
&& adduser -S gcalcli \
|
&& adduser -S gcalcli \
|
||||||
&& chown -R gcalcli $HOME \
|
&& chown -R gcalcli $HOME \
|
||||||
&& pip install vobject parsedatetime gcalcli
|
&& pip3 install vobject parsedatetime gcalcli
|
||||||
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
USER gcalcli
|
USER gcalcli
|
||||||
|
|
Loading…
Reference in New Issue
Block a user