Remove prettier from the base image.

Remove prettier from the base image.

This should be installed by yarn.

From 9a4dca18029a983cb1fce28010e7f1f44c7e1ac7 Mon Sep 17 00:00:00 2001
From: Guo Xiang Tan <tgx_world@hotmail.com>
Date: Fri, 7 Sep 2018 14:48:09 +0800
Subject: [PATCH] Remove prettier from the base image.

This should be installed by yarn.

diff --git a/image/base/Dockerfile b/image/base/Dockerfile
index 1a77fab..f9c2e6b 100644
--- a/image/base/Dockerfile
+++ b/image/base/Dockerfile
@@ -47,8 +47,7 @@ RUN cd / &&\
     locale-gen en_US &&\
     apt-get install -y nodejs &&\
     npm install -g uglify-js@"<3" &&\
-    npm install -g svgo &&\
-    npm install -g prettier@1.14.0
+    npm install -g svgo
 
 ADD install-nginx /tmp/install-nginx
 RUN /tmp/install-nginx

GitHub

2 Likes