File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " iris-devcontainer" ,
3
- "dockerComposeFile" : [" docker-compose.yml" ],
3
+ "dockerComposeFile" : [
4
+ " docker-compose.yml"
5
+ ],
4
6
"service" : " iris-dev" ,
5
7
"workspaceFolder" : " /app/src" ,
6
- "initializeCommand" : " go install -v golang.org/x/tools/gopls@latest; go install -v github.com/ramya-rao-a/go-outline@latest" ,
7
- "postCreateCommand" : " git config --global --add safe.directory /app/src" ,
8
+ "onCreateCommand" : " go get -d && go install -v golang.org/x/tools/gopls@latest && go install -v github.com/ramya-rao-a/go-outline@latest && git config --global --add safe.directory /app/src" ,
8
9
"customizations" : {
9
10
// Configure properties specific to VS Code.
10
11
"vscode" : {
18
19
]
19
20
}
20
21
}
21
- }
22
+ }
Original file line number Diff line number Diff line change @@ -38,6 +38,4 @@ ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
38
38
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
39
39
40
40
WORKDIR $GOPATH/src
41
- COPY . .
42
- RUN go get -d
43
41
ENV APP_ENV=development
You can’t perform that action at this time.
0 commit comments