Skip to content

Commit

Permalink
Fix missing local dev tools
Browse files Browse the repository at this point in the history
  • Loading branch information
fheinecke committed Nov 4, 2024
1 parent b090543 commit fef1952
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions tools/env-loader/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/go
RUN apt update && \
apt install -y --no-install-recommends age

RUN go install gotest.tools/gotestsum@latest && \
chown -R "vscode:golang" /go/pkg # Fix ownership

COPY --from=ghcr.io/getsops/sops:v3.9.1 /usr/local/bin/sops /usr/local/bin/sops
6 changes: 4 additions & 2 deletions tools/env-loader/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
"dockerfile": "Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"github.vscode-github-actions",
"redhat.vscode-yaml"
"redhat.vscode-yaml",
"ms-azuretools.vscode-docker"
]
}
},
Expand Down

0 comments on commit fef1952

Please sign in to comment.