1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-03-17 20:17:48 +02:00

Add multi-state build feature (#81)

* Add multi-state build

* add white space
This commit is contained in:
Ricardson 2018-10-25 11:28:17 -03:00 committed by Sergey Alexandrovich
parent e163400864
commit 6d09ab2cd8

View File

@ -16,6 +16,15 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/reposit
&& apk del --purge .build-deps \
&& rm -rf /var/cache/apk*
FROM alpine:edge
RUN \
&& echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk --no-cache add ca-certificates bash vips \
&& rm -rf /var/cache/apk*
COPY --from=0 /usr/local/bin/imgproxy /usr/local/bin
CMD ["imgproxy"]
EXPOSE 8080