Skip to content

Commit

Permalink
Merge branch 'main' into feature/goal-seeking-keyvaults
Browse files Browse the repository at this point in the history
  • Loading branch information
theunrepentantgeek authored Oct 11, 2023
2 parents 77ee23c + f553f31 commit bc1438e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 29 deletions.
58 changes: 30 additions & 28 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,45 @@
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.137.0/containers/go
{
"name": "Go",
"name": "Azure Service Operator",
"build": { "dockerfile": "Dockerfile" },
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt", "seccomp=unconfined",
"--init", // runs an init process: https://docs.docker.com/engine/reference/run/#specify-an-init-process
"--init" // runs an init process: https://docs.docker.com/engine/reference/run/#specify-an-init-process
],

// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"icon": "terminal-bash"
},
},
"go.gopath": "/go",
"go.useLanguageServer": true,
"go.lintTool": "golangci-lint",
"[go]": {
"editor.snippetSuggestions": "none",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.go",
"ms-azuretools.vscode-docker",
"redhat.vscode-yaml",
"ms-kubernetes-tools.vscode-kubernetes-tools",
"task.vscode-task"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"icon": "terminal-bash"
}
},
"go.gopath": "/go",
"go.useLanguageServer": true,
"go.lintTool": "golangci-lint",
"[go]": {
"editor.snippetSuggestions": "none",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
}
}
}
},


// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"golang.Go",
"ms-azuretools.vscode-docker",
"redhat.vscode-yaml",
"ms-kubernetes-tools.vscode-kubernetes-tools"
],
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [9000],
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ fi
write-verbose "Checking for $TOOL_DEST/go-task"
if should-install "$TOOL_DEST/task"; then
write-info "Installing go-task"
curl -sL "https://github.com/go-task/task/releases/download/v3.22.0/task_linux_amd64.tar.gz" | tar xz -C "$TOOL_DEST" task
curl -sL "https://github.com/go-task/task/releases/download/v3.31.0/task_linux_amd64.tar.gz" | tar xz -C "$TOOL_DEST" task
fi

# Install Trivy
Expand Down

0 comments on commit bc1438e

Please sign in to comment.