File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 with :
1818 go-version : ${{ matrix.go-version }}
1919 - name : Run Tests and Build
20- run : go test ./... && make
20+ run : go test ./... && make build
Original file line number Diff line number Diff line change 1- FROM golang
1+ FROM golang:1.22.2
2+
23ADD . /go/src/github.com/evilsocket/arc
34WORKDIR /go/src/github.com/evilsocket/arc
45COPY sample_config.toml config.toml
5- RUN make build
6+
7+ RUN go build -o build/arc cmd/arc/*.go
68EXPOSE 8443
79ENTRYPOINT ./build/arc -config config.toml
Original file line number Diff line number Diff line change @@ -10,16 +10,15 @@ SERVICE_LN_DIR=/etc/systemd/system
1010
1111all : build
1212
13- build : assets
13+ build : webui/compiled.go
1414 @mkdir -p build
1515 @go build $(FLAGS ) -o build/$(TARGET ) $(SRC_PATH )
1616
17- assets : bindata
18- @rm -rf webui/compiled.go
17+ webui/compiled.go : bindata
1918 @go-bindata -o webui/compiled.go -pkg webui webui/...
2019
2120bindata :
22- @go get -u github.com/jteeuwen/go-bindata/...
21+ @go install github.com/jteeuwen/go-bindata
2322
2423test :
2524 @go test ./...
You can’t perform that action at this time.
0 commit comments