mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 12:23:35 +01:00
7ac4881609
This enables us to remove the following patterns that required a `rm -rf /var/cache/apk`: - `apk update` - `apk add --update` - `apk add --update-cache` Supported since alpine 3.3.
19 lines
317 B
Docker
19 lines
317 B
Docker
FROM alpine:latest
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
ENV HOME /home/gcalcli
|
|
|
|
RUN apk --no-cache add \
|
|
python \
|
|
python-dev \
|
|
py-pip \
|
|
build-base \
|
|
&& adduser -S gcalcli \
|
|
&& chown -R gcalcli $HOME \
|
|
&& pip install vobject parsedatetime gcalcli
|
|
|
|
WORKDIR $HOME
|
|
USER gcalcli
|
|
|
|
ENTRYPOINT [ "gcalcli" ]
|