Skip to content

Commit

Permalink
Added Docker devcontainer for ubuntu-23.04 (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstendb-ARM authored Sep 5, 2023
1 parent b8149b6 commit cb525ec
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .devcontainer/ubuntu-22.04/Dockerfile
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"]
13 changes: 13 additions & 0 deletions .devcontainer/ubuntu-22.04/devcontainer.json
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"
]
}
}
}

0 comments on commit cb525ec

Please sign in to comment.