dockerfiles/imagemin/Dockerfile
Jessica Frazelle c366103056
update imagemin
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-12-15 10:08:31 -08:00

24 lines
437 B
Docker

# Run imagemin in a container:
#
# docker run --rm -it \
# -v /etc/localtime:/etc/localtime:ro \
# -v $HOME/Pictures:/root/Pictures \
# --entrypoint bash \
# jess/imagemin
#
FROM alpine
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apk update && apk add \
autoconf \
automake \
build-base \
file \
libpng-dev \
nasm \
nodejs \
&& rm -rf /var/cache/apk/* \
&& npm install --global imagemin-cli
CMD [ "imagemin", "--help" ]