mirror of
https://github.com/luzifer-docker/awscli.git
synced 2024-12-20 21:11:19 +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 \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y groff \
|
||||
&& apt-get autoremove -y
|
||||
&& pip install --no-cache-dir -r /tmp/requirements.txt \
|
||||
&& rm /tmp/requirements.txt \
|
||||
&& apk --update add groff less
|
||||
|
||||
VOLUME ["/root/.aws"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue