Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 2b98722

Browse files
authored
Update vale to "official" version 0.12.0 (#794)
* Update vale to "official" version 0.12.0 Signed-off-by: Thomas Mäder <[email protected]> * Address PR comments Signed-off-by: Thomas Mäder <[email protected]>
1 parent bf3299d commit 2b98722

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

che-theia-plugins.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ plugins:
5858
extensions:
5959
- https://github.com/VSCodeVim/Vim/releases/download/v1.16.0/vim-1.16.0.vsix
6060
- repository:
61-
url: https://github.com/testthedocs/vscode-vale
62-
revision: 0.9.1
61+
url: https://github.com/errata-ai/vale-vscode/
62+
revision: v0.14.2
6363
sidecar:
6464
directory: vale
6565
name: "vscode-vale"
6666
memoryLimit: "512Mi"
6767
extensions:
68-
- https://download.jboss.org/jbosstools/vscode/3rdparty/vscode-vale/vale-0.9.1.vsix
68+
- https://github.com/errata-ai/vale-vscode/releases/download/v0.14.2/vale-server-0.14.2.vsix
6969
- repository:
7070
url: https://github.com/eclipse-cdt/cdt-vscode
7171
revision: 2edfc3a3474bc7a732014e1a4631561b991f845a

sidecars/vale/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2020 Red Hat, Inc.
1+
# Copyright (c) 2021 Red Hat, Inc.
22
# This program and the accompanying materials are made
33
# available under the terms of the Eclipse Public License 2.0
44
# which is available at https://www.eclipse.org/legal/epl-2.0/
@@ -8,19 +8,20 @@
88
# Contributors:
99
# Red Hat, Inc. - initial API and implementation
1010

11+
FROM jdkato/vale:v2.8.0 as vale
12+
1113
FROM alpine:3.12.1
1214

1315
ENV HOME=/home/theia
14-
ENV VALE_VERSION=2.4.0
16+
17+
COPY --from=vale /bin/vale /usr/local/bin
1518

1619
RUN mkdir /projects ${HOME} && \
1720
# Change permissions to let any arbitrary user
1821
for f in "${HOME}" "/etc/passwd" "/projects"; do \
1922
echo "Changing permissions on ${f}" && chgrp -R 0 ${f} && \
2023
chmod -R g+rwX ${f}; \
2124
done && \
22-
wget -qO- https://github.com/errata-ai/vale/releases/download/v${VALE_VERSION}/vale_${VALE_VERSION}_Linux_64-bit.tar.gz | tar xvz -C /usr/local/bin && \
23-
chmod +x /usr/local/bin/vale && \
2425
apk --no-cache --update --allow-untrusted add asciidoctor && \
2526
# Future word lists or config files can go here
2627
mkdir ${HOME}/vale

0 commit comments

Comments
 (0)