mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
10cf8b8945
The latest gcalcli uses shutil.get_terminal_size which isn't backported to python2's shutil.
18 lines
316 B
Docker
18 lines
316 B
Docker
FROM alpine:latest
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
|
|
|
ENV HOME /home/gcalcli
|
|
|
|
RUN apk --no-cache add \
|
|
python3 \
|
|
python3-dev \
|
|
build-base \
|
|
&& adduser -S gcalcli \
|
|
&& chown -R gcalcli $HOME \
|
|
&& pip3 install vobject parsedatetime gcalcli
|
|
|
|
WORKDIR $HOME
|
|
USER gcalcli
|
|
|
|
ENTRYPOINT [ "gcalcli" ]
|