Commit 84db7d9a authored by Fabio Montefuscolo's avatar Fabio Montefuscolo
Browse files

Avoid pip cache

parent 688612c1
Pipeline #2747 passed with stage
in 45 seconds
FROM alpine:latest
MAINTAINER Fabio Montefuscolo <fabio.montefuscolo@gmail.com>
RUN apk update && \
apk add dcron python py2-pip && \
rm -rf /var/cache/apk/* && \
pip install awscli && \
mkdir /root/.aws
RUN apk update \
&& apk add dcron python py2-pip \
&& pip --no-cache-dir install awscli \
&& rm -rf /var/cache/apk/* \
&& mkdir /root/.aws
VOLUME ["/etc/periodic", "/root/.aws"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment