File tree Expand file tree Collapse file tree 5 files changed +47
-1
lines changed Expand file tree Collapse file tree 5 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 1+ ARG GO_VERSION=1.24.2
2+ ARG ALPINE_VERSION=3.21
3+
4+ FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION}
5+
6+ # Install packages
7+ RUN apk add -q --update --progress --no-cache git sudo openssh-client make
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " Switcher GitOps Dev Container" ,
3+ "dockerComposeFile" : [
4+ " docker-compose.yml"
5+ ],
6+ "service" : " switcher-gitops" ,
7+ "workspaceFolder" : " /workspace" ,
8+ "customizations" : {
9+ "vscode" : {
10+ "extensions" : [
11+ " golang.go"
12+ ],
13+ "settings" : {
14+ "terminal.integrated.shell.linux" : " /bin/bash"
15+ }
16+ }
17+ }
18+ }
Original file line number Diff line number Diff line change 1+ version : ' 3.9'
2+
3+ services :
4+
5+ switcher-gitops :
6+ build :
7+ context : .
8+ dockerfile : Dockerfile
9+ volumes :
10+ - ..:/workspace:cached
11+ command : sleep infinity
12+
13+ mongodb :
14+ image : mongo:latest
15+ restart : unless-stopped
16+ ports :
17+ - 27017:27017
18+ environment :
19+ MONGO_INITDB_DATABASE : switcher-gitops
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ go 1.24.2
44
55require (
66 github.com/go-git/go-billy/v5 v5.6.2
7- github.com/go-git/go-git/v5 v5.15 .0
7+ github.com/go-git/go-git/v5 v5.16 .0
88 github.com/golang-jwt/jwt/v5 v5.2.2
99 github.com/gorilla/mux v1.8.1
1010 github.com/joho/godotenv v1.5.1
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMj
3030github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 /go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII =
3131github.com/go-git/go-git/v5 v5.15.0 h1:f5Qn0W0F7ry1iN0ZwIU5m/n7/BKB4hiZfc+zlZx7ly0 =
3232github.com/go-git/go-git/v5 v5.15.0 /go.mod h1:4Ge4alE/5gPs30F2H1esi2gPd69R0C39lolkucHBOp8 =
33+ github.com/go-git/go-git/v5 v5.16.0 h1:k3kuOEpkc0DeY7xlL6NaaNg39xdgQbtH5mwCafHO9AQ =
34+ github.com/go-git/go-git/v5 v5.16.0 /go.mod h1:4Ge4alE/5gPs30F2H1esi2gPd69R0C39lolkucHBOp8 =
3335github.com/golang-jwt/jwt/v5 v5.2.2 h1:Rl4B7itRWVtYIHFrSNd7vhTiz9UpLdi6gZhZ3wEeDy8 =
3436github.com/golang-jwt/jwt/v5 v5.2.2 /go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk =
3537github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ =
You can’t perform that action at this time.
0 commit comments