Skip to content

Commit

Permalink
Setup devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesDawson committed Sep 5, 2024
1 parent aeb0e02 commit 3787ffc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM golang:1.23-alpine3.20

RUN apk add --update --no-cache \
bash \
git \
fuse3-dev \
make \
gcc \
g++ \
linux-headers \
patch
9 changes: 9 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.166.1/containers/python-3
{
"name": "BlobFuse2-Alpine-Build",
"build": {
"dockerfile": "Dockerfile"
},
"postCreateCommand": "git config --global --add safe.directory /workspaces/azure-storage-fuse-alpine && git config --global --add safe.directory /workspaces/azure-storage-fuse-alpine/azure-storage-fuse"
}

0 comments on commit 3787ffc

Please sign in to comment.