2015-05-14 01:33:24 +02:00
|
|
|
# Run imagemin in a container:
|
|
|
|
#
|
|
|
|
# docker run --rm -it \
|
2015-06-05 19:24:11 +02:00
|
|
|
# -v /etc/localtime:/etc/localtime:ro \
|
|
|
|
# -v $HOME/Pictures:/root/Pictures \
|
|
|
|
# --entrypoint bash \
|
|
|
|
# jess/imagemin
|
2015-05-14 01:33:24 +02:00
|
|
|
#
|
2016-09-19 21:12:06 +02:00
|
|
|
FROM alpine:latest
|
2016-09-20 00:25:05 +02:00
|
|
|
MAINTAINER Jessie Frazelle <jess@linux.com>
|
2015-03-12 04:55:17 +01:00
|
|
|
|
2016-06-06 05:40:20 +02:00
|
|
|
RUN apk --no-cache add \
|
2015-07-27 07:40:32 +02:00
|
|
|
autoconf \
|
|
|
|
automake \
|
|
|
|
build-base \
|
|
|
|
file \
|
|
|
|
libpng-dev \
|
|
|
|
nasm \
|
|
|
|
nodejs \
|
2015-12-15 19:08:14 +01:00
|
|
|
&& npm install --global imagemin-cli
|
2015-03-12 04:55:17 +01:00
|
|
|
|
2015-07-27 07:40:32 +02:00
|
|
|
CMD [ "imagemin", "--help" ]
|