File tree 3 files changed +7
-31
lines changed
3 files changed +7
-31
lines changed Original file line number Diff line number Diff line change 1
- FROM mhart/alpine-node:6
1
+ FROM mhart/alpine-node:7
2
2
3
3
MAINTAINER Andy Postnikov
4
4
Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ FROM skilldlabs/frontend:latest
2
2
3
3
MAINTAINER Andy Postnikov
4
4
5
- RUN apk add --no-cache git \
6
- && npm install -g \
7
- bower \
5
+ ENV NPM_PACKAGES "bower \
8
6
breakpoint-sass \
9
7
browser-sync \
10
8
chroma-sass \
@@ -26,6 +24,9 @@ RUN apk add --no-cache git \
26
24
sass-lint \
27
25
support-for \
28
26
typey \
29
- zen-grids
27
+ zen-grids"
28
+
29
+ RUN apk add --no-cache git \
30
+ && npm install -g $NPM_PACKAGES
30
31
31
32
COPY docker-entrypoint.sh /usr/bin/
Original file line number Diff line number Diff line change 3
3
# prevent conflicts with existing
4
4
rm -rf node_modules
5
5
6
- /usr/bin/npm link \
7
- bower \
8
- breakpoint-sass \
9
- browser-sync \
10
- chroma-sass \
11
- del \
12
- eslint \
13
- event-stream \
14
- gulp \
15
- gulp-autoprefixer \
16
- gulp-eslint \
17
- gulp-if \
18
- gulp-load-plugins \
19
- gulp-rename \
20
- gulp-replace \
21
- gulp-sass \
22
- gulp-sass-lint \
23
- gulp-size \
24
- gulp-sourcemaps \
25
- gulp.spritesmith \
26
- kss \
27
- node-sass-import-once \
28
- sass-lint \
29
- support-for \
30
- typey \
31
- zen-grids
6
+ /usr/bin/npm link $NPM_PACKAGES
32
7
33
8
exec " $@ "
You can’t perform that action at this time.
0 commit comments