mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 12:23:35 +01:00
c4ff0cf58c
Signed-off-by: Jess Frazelle <me@jessfraz.com>
23 lines
409 B
Docker
23 lines
409 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:latest
|
|
MAINTAINER Jessie Frazelle <jess@linux.com>
|
|
|
|
RUN apk --no-cache add \
|
|
autoconf \
|
|
automake \
|
|
build-base \
|
|
file \
|
|
libpng-dev \
|
|
nasm \
|
|
nodejs \
|
|
&& npm install --global imagemin-cli
|
|
|
|
CMD [ "imagemin", "--help" ]
|