-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (31 loc) · 1.19 KB
/
Dockerfile
File metadata and controls
35 lines (31 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM node:lts-trixie
LABEL maintainer="Julian Nonino <noninojulian@gmail.com>"
# renovate: datasource=npm depName=cspell
ENV CSPELL_VERSION="10.0.0"
# Install tools
# Git https://git-scm.com/
# Make https://www.gnu.org/software/make/
# Task https://taskfile.dev/
RUN curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.deb.sh' | bash && \
apt update && \
apt-get install -y git tzdata make task && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN npm install --global npm@latest \
cspell@${CSPELL_VERSION} \
@cspell/dict-en-gb \
@cspell/dict-en-gb-ise \
@cspell/dict-scientific-terms-gb \
@cspell/dict-es-es \
@cspell/dict-people-names \
@cspell/dict-redis \
@cspell/dict-scientific-terms-us \
@cspell/dict-cspell-bundle
RUN cspell link add @cspell/dict-en-gb && \
cspell link add @cspell/dict-en-gb-ise && \
cspell link add @cspell/dict-scientific-terms-gb && \
cspell link add @cspell/dict-es-es && \
cspell link add @cspell/dict-people-names && \
cspell link add @cspell/dict-redis && \
cspell link add @cspell/dict-scientific-terms-us && \
cspell link add @cspell/dict-cspell-bundle