File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- FROM mhart/alpine- node:5.4
1
+ FROM node:6.3.1-slim
2
2
MAINTAINER Code Climate <hello@codeclimate.com>
3
3
4
4
WORKDIR /usr/src/app
5
5
COPY npm-shrinkwrap.json /usr/src/app/
6
6
COPY package.json /usr/src/app/
7
7
8
- RUN apk --update add git jq && \
8
+ RUN apt-get update && \
9
+ apt-get install -y git jq && \
9
10
npm install && \
10
11
git clone https://github.com/eslint/eslint.git && \
11
12
ESLINT_DOCS_VERSION=`npm -j ls eslint | jq -r .dependencies.eslint.version` && \
@@ -15,9 +16,10 @@ RUN apk --update add git jq && \
15
16
mkdir -p /usr/src/app/lib/docs/rules/ && \
16
17
cp ./eslint/docs/rules/* /usr/src/app/lib/docs/rules/ && \
17
18
rm -rf eslint && \
18
- apk del --purge git jq
19
+ apt-get purge -y git jq && \
20
+ apt-get autoremove -y
19
21
20
- RUN adduser -u 9000 -D app
22
+ RUN adduser -u 9000 --disabled-password app
21
23
COPY . /usr/src/app
22
24
RUN chown -R app:app /usr/src/app
23
25
You can’t perform that action at this time.
0 commit comments