Install eslint in host-x86_64 Dockerfile
This commit is contained in:
parent
9e5dd51166
commit
f0f661db2b
1 changed files with 7 additions and 0 deletions
|
|
@ -24,6 +24,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
mingw-w64 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY scripts/nodejs.sh /scripts/
|
||||
RUN sh /scripts/nodejs.sh /node
|
||||
ENV PATH="/node/bin:${PATH}"
|
||||
|
||||
# Install eslint
|
||||
RUN npm install eslint@8.6.0
|
||||
|
||||
COPY scripts/sccache.sh /scripts/
|
||||
RUN sh /scripts/sccache.sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue