mirror of
https://github.com/luzifer-docker/awscli.git
synced 2024-11-09 10:50:00 +00:00
Switch to alpine image to reduce size
This commit is contained in:
parent
561c6d993e
commit
ae0607f907
1 changed files with 6 additions and 4 deletions
10
Dockerfile
10
Dockerfile
|
@ -1,9 +1,11 @@
|
||||||
FROM python:2.7-onbuild
|
FROM python:2.7-alpine
|
||||||
|
|
||||||
|
COPY requirements.txt /tmp/
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apt-get update \
|
&& pip install --no-cache-dir -r /tmp/requirements.txt \
|
||||||
&& apt-get install -y groff \
|
&& rm /tmp/requirements.txt \
|
||||||
&& apt-get autoremove -y
|
&& apk --update add groff less
|
||||||
|
|
||||||
VOLUME ["/root/.aws"]
|
VOLUME ["/root/.aws"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue