You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .devcontainer/Dockerfile
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/javascript-node/.devcontainer/base.Dockerfile
2
-
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 16, 14, 12, 16-bullseye, 14-bullseye, 12-bullseye, 16-buster, 14-buster, 12-buster
3
-
ARG VARIANT=20-bookworm
2
+
# [Choice] Node.js version/variant (use -bookworm variants on local arm64/Apple Silicon): e.g. 22-bookworm, 20-bookworm, 18-bookworm
3
+
ARG VARIANT=22-bookworm
4
4
FROM mcr.microsoft.com/devcontainers/javascript-node:1-${VARIANT}
5
5
6
6
# [Optional] Uncomment this section to install additional OS packages.
@@ -23,7 +23,10 @@ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -o "aws
23
23
rm -rf ./aws && \
24
24
rm awscliv2.zip
25
25
# Install sam cli
26
-
RUN curl -L "https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-$(dpkg --print-architecture).zip" -o "aws-sam-cli.zip" && \
26
+
RUN ARCH_RAW=$(uname -m) && \
27
+
ARCH=$ARCH_RAW && \
28
+
if [ "$ARCH_RAW" = "aarch64" ]; then ARCH="arm64"; fi && \
# required to fetch internal or private CodeQL packs
36
+
packages: read
37
+
38
+
# only required for workflows in private repositories
39
+
actions: read
40
+
contents: read
41
+
42
+
strategy:
43
+
fail-fast: false
44
+
matrix:
45
+
include:
46
+
- language: actions
47
+
build-mode: none
48
+
- language: javascript-typescript
49
+
build-mode: none
50
+
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
51
+
# Use `c-cpp` to analyze code written in C, C++ or both
52
+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
53
+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
54
+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
55
+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
56
+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
57
+
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
| deploymentConfig.overridevalidators[0].error | string |`"`Branch protection required_approving_review_count cannot be overidden to a lower value`\n"`||
0 commit comments