Skip to content

Commit

Permalink
fix: invalid folder location
Browse files Browse the repository at this point in the history
  • Loading branch information
b0m313 committed Dec 13, 2023
1 parent d83ecf8 commit a87a797
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ COPY go.sum go.sum
RUN go mod download

# Copy the go source
COPY main.go main.go
COPY api/ api/
COPY controllers/ controllers/
COPY Nimbus/cmd/main.go Nimbus/cmd/main.go
COPY Nimbus/api/ Nimbus/api/
COPY Nimbus/ontrollers/ Nimbus/controllers/

# Build
# the GOARCH has not a default value to allow the binary be built according to the host where the command
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ lint-fix: golangci-lint ## Run golangci-lint linter and perform fixes

.PHONY: build
build: manifests generate fmt vet ## Build manager binary.
go build -o bin/manager main.go
go build -o bin/manager Nimbus/cmd/main.go

.PHONY: run
run: manifests generate fmt vet ## Run a controller from your host.
go run ./main.go
go run Nimbus/cmd/main.go

# If you wish to build the manager image targeting other platforms you can use the --platform flag.
# (i.e. docker build --platform linux/arm64). However, you must enable docker buildKit for it.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/5GSEC/nimbus
module github.com/5GSEC/nimbus/Nimbus

go 1.20

Expand Down

0 comments on commit a87a797

Please sign in to comment.