Skip to content

Commit ae282fe

Browse files
authored
chore: get devcontainer to pass trivy linting (#721)
1 parent 42f208d commit ae282fe

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.cspell.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@
1010
"report",
1111
".*"
1212
],
13-
"ignoreWords": ["niek", "npalm", "nvmrc", "markdownlintignore"],
13+
"ignoreWords": [
14+
"niek",
15+
"npalm",
16+
"nvmrc",
17+
"markdownlintignore",
18+
"devcontainer"
19+
],
1420
"language": "en",
1521
"noConfigSearch": true,
1622
"words": ["linebreak", "megalinter", "oxsecurity", "REAMDE"],

.devcontainer/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
ARG VARIANT="20-bullseye"
2-
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
2+
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:1-${VARIANT}
33

4-
RUN apt-get update && apt-get install bash-completion gnupg2 --no-install-recommends -y
4+
# hadolint ignore=DL3008
5+
RUN apt-get update && apt-get install bash-completion gnupg2 --no-install-recommends -y && rm -rf /var/lib/apt/lists/*
6+
7+
USER node

.trivyignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Healthcheck isn't necessary in a devcontainer
2+
AVD-DS-0026

0 commit comments

Comments
 (0)