Skip to content

Commit 3a45cb1

Browse files
committed
Override base (install missing bin)
Fixes microsoft/vscode-remote-release/issues/9856#issue-2279937211
1 parent 1e9113c commit 3a45cb1

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

templates/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM public.ecr.aws/lambda/nodejs:20
2+
3+
RUN dnf install -y gzip tar

templates/MANIFEST

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{pkgName}}/.devcontainer/devcontainer.json
2+
{{pkgName}}/.devcontainer/Dockerfile
23
{{pkgName}}/.devcontainer/ecosystem.config.js
34
{{pkgName}}/.gitignore
45
{{pkgName}}/{{appName}}/.npmignore

templates/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "{{appName}}",
3-
"image": "public.ecr.aws/lambda/nodejs:{{nodeVersion}}",
3+
"build": {"dockerfile": "Dockerfile"},
44
"forwardPorts": [3000],
55
// Mounting AWS config (Requires container rebuild)
66
//"mounts": ["source=${localEnv:HOME}/.aws,target=/root/.aws,type=bind,consistency=cached"],

0 commit comments

Comments
 (0)