File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ FROM golang:latest AS builder
22WORKDIR /src
33COPY go.mod go.sum ./
44RUN go mod download
5+ RUN apt-get update && apt-get install -y make
56COPY . .
6- RUN apt-get update && apt-get install -y make && make linux
7+ RUN make linux
78
89FROM debian:bookworm-slim
910COPY --from=builder /src/bin/linux/askgod-server /askgod-server
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ services:
2121 volumes :
2222 - ${PWD}/askgod.yaml:/askgod.yaml
2323 command : /askgod.yaml
24+ restart : on-failure
2425 depends_on :
2526 - database
2627
Original file line number Diff line number Diff line change 44
55TEAM_NAME=" seed-testteam"
66echo " Adding team $TEAM_NAME "
7- ./bin/linux/askgod --server http://localhost:9080 admin add-team name=$TEAM_NAME subnets=127 .0.0.1/8 country=CA
7+ ./bin/linux/askgod --server http://localhost:9080 admin add-team name=$TEAM_NAME subnets=0 .0.0.0/0 country=CA
88
99FLAG_PREFIX=" FLAG-SEED-"
1010echo " Adding 20 flags $FLAG_PREFIX {NUMBER}"
You can’t perform that action at this time.
0 commit comments