-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Docker devcontainer for ubuntu-23.04 (#208)
- Loading branch information
1 parent
b8149b6
commit cb525ec
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM ubuntu:23.04 | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive && \ | ||
apt-get update && \ | ||
apt-get -y install \ | ||
build-essential \ | ||
curl \ | ||
less \ | ||
git \ | ||
golang \ | ||
gopls \ | ||
delve \ | ||
go-staticcheck | ||
|
||
RUN go install honnef.co/go/tools/cmd/staticcheck@latest | ||
|
||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "Ubuntu-23.04", | ||
"build": { "dockerfile": "Dockerfile" }, | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"golang.go", | ||
"ms-azuretools.vscode-docker" | ||
] | ||
} | ||
} | ||
} |