Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle
2017-01-10 16:14:50 -08:00
parent 31c1084645
commit 3c1634b3d0
10 changed files with 21 additions and 17 deletions

View File

@@ -6,17 +6,21 @@
# --entrypoint bash \
# jess/imagemin
#
FROM alpine:latest
FROM node:alpine
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
libpng
RUN set -x \
&& apk add --no-cache --virtual .build-deps \
autoconf \
automake \
build-base \
libpng-dev \
nasm \
&& npm install --global imagemin-cli \
&& apk del .build-deps
CMD [ "imagemin", "--help" ]