mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
d96d372830
Signed-off-by: Jessica Frazelle <princess@docker.com>
20 lines
350 B
Docker
20 lines
350 B
Docker
FROM alpine:latest
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
ENV HOME /home/gcalcli
|
|
|
|
RUN apk update && apk add \
|
|
python \
|
|
python-dev \
|
|
py-pip \
|
|
build-base \
|
|
&& rm -rf /var/cache/apk/* \
|
|
&& adduser -S gcalcli \
|
|
&& chown -R gcalcli $HOME \
|
|
&& pip install vobject parsedatetime gcalcli
|
|
|
|
WORKDIR $HOME
|
|
USER gcalcli
|
|
|
|
ENTRYPOINT [ "gcalcli" ]
|