Skip to content

Commit 8d4efc8

Browse files
authored
Merge pull request #593 from mie313/fix-docker-build-on-tilt
Fix docker build on tilt
2 parents a6ecd1a + 15744d0 commit 8d4efc8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
22
# Ignore build and test binaries.
33
bin/
4+
!bin/manager
45
testbin/
56
example
67
images

Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ k8s_yaml(updated_install)
4444
# binary is rebuilt and the hot swat wrapper takes care of the rest.
4545
local_resource(
4646
'manager',
47-
"CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/manager ./",
47+
"CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/manager ./cmd/rcm/main.go",
4848
deps = [
4949
"main.go",
5050
"go.mod",

0 commit comments

Comments
 (0)