From 046dfbea516e5405e209131da3defecd1be74a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans-Jo=CC=88rg=20Wieland?= Date: Fri, 1 Mar 2019 20:42:11 +0100 Subject: [PATCH] Fixed grunt-cli install in alpine -- See: https://stackoverflow.com/a/52196681 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c45b0f7..c5270fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ ENV REFRESHED_AT 2019-03-01 RUN apk --update --no-cache add git openssh-client ruby ruby-ffi zlib-dev autoconf automake gcc make g++ optipng nasm RUN gem install compass --no-ri --no-rdoc -RUN npm install -g grunt-cli +RUN npm_config_unsafe_perm=true npm install -g grunt-cli WORKDIR /root