Skip to content

Commit 55f83bf

Browse files
committed
Update
1 parent e5eee2e commit 55f83bf

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.devcontainer/devcontainer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
{
44
"name": "Go",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/go:1-1-bookworm",
6+
"image": "mcr.microsoft.com/devcontainers/go:latest",
77
// Features to add to the dev container. More info: https://containers.dev/features.
88
"features": {
99
"ghcr.io/devcontainers/features/go:1": {}
1010
},
1111
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1212
// "forwardPorts": [],
13-
1413
// Use 'postCreateCommand' to run commands after the container is created.
1514
"postCreateCommand": "/bin/sh .devcontainer/postCreateCommand.sh",
1615
// Configure tool-specific properties.
@@ -19,10 +18,11 @@
1918
"extensions": [
2019
"golang.go",
2120
"Catppuccin.catppuccin-vsc",
22-
"Catppuccin.catppuccin-vsc-icons"
21+
"Catppuccin.catppuccin-vsc-icons",
22+
"TakumiI.markdowntable"
2323
]
2424
}
2525
}
2626
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
2727
// "remoteUser": "root"
28-
}
28+
}

.devcontainer/postCreateCommand.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ go install github.com/go-task/task/v3/cmd/task@latest
44
go install honnef.co/go/tools/cmd/staticcheck@latest
55
go install golang.org/x/tools/cmd/goimports@latest
66
go install github.com/go-delve/delve/cmd/dlv@latest
7+
go install golang.org/x/perf/cmd/benchstat@latest
78

8-
sudo apt update && sudo apt install -y universal-ctags
9+
sudo apt update && sudo sudo apt install -y universal-ctags tree nkf wamerican miller tcpdump
10+
wget -O /tmp/hyperfine.deb https://github.com/sharkdp/hyperfine/releases/download/v1.19.0/hyperfine_1.19.0_amd64.deb
11+
sudo dpkg -i /tmp/hyperfine.deb
912

1013
go mod download
1114
task build

0 commit comments

Comments
 (0)