Skip to content

Commit

Permalink
Devcontainer: switch to the local Dockerfile
Browse files Browse the repository at this point in the history
Thsi way we can preinstall all required dev dependencies
  • Loading branch information
a-b committed May 16, 2024
1 parent b32df3b commit b93b5a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM mcr.microsoft.com/devcontainers/universal:2

RUN apt update && apt install --yes \
fzf \
entr

RUN curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
5 changes: 3 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Cloudfoundry CLI Bosh Release",
"image": "mcr.microsoft.com/devcontainers/universal:2",
"dockerFile": "Dockerfile",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
},
Expand All @@ -16,5 +16,6 @@
]
}
},
"postCreateCommand": "gh extension install https://github.com/nektos/gh-act && sudo apt update && sudo apt install --yes fzf entr"
"postCreateCommand": ""

}

0 comments on commit b93b5a3

Please sign in to comment.