Skip to content

Commit 61c9918

Browse files
author
js-jslog
committed
correct the eslint plugin installs and remove the proxy setting (it
seems to either use the docker env vars or use the hosts npm setting somehow)
1 parent 132a09b commit 61c9918

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ RUN source /root/.bashrc
4040
ENV NODE_PATH $NVM_DIR/versions/node/v$NODE_VERSION/lib/node_modules
4141
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
4242

43-
RUN npm set proxy $http_proxy
44-
RUN npm set https-proxy $http_proxy
4543
RUN npm install -g eslint
46-
RUN npm install -g eslint-config-airbnb
44+
RUN npm install -g eslint-config-airbnb-base
45+
RUN npm install -g eslint-plugin-import
4746

4847
RUN add-apt-repository ppa:jonathonf/vim -y
4948
RUN apt update

0 commit comments

Comments
 (0)