Skip to content

Commit

Permalink
chore: Remove sentinel prefix for local dev use
Browse files Browse the repository at this point in the history
  • Loading branch information
placer14 committed Sep 24, 2020
1 parent e6687aa commit 5c8b7b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN make deps && make build
# Runner
FROM buildpack-deps:buster-curl
# Grab the things
COPY --from=builder /go/src/github.com/filecoin-project/sentinel-visor/sentinel-visor /usr/bin/
COPY --from=builder /go/src/github.com/filecoin-project/sentinel-visor/visor /usr/bin/
COPY --from=builder /usr/lib/x86_64-linux-gnu/libOpenCL.so* /lib/

ENTRYPOINT ["/usr/bin/sentinel-visor"]
Expand Down
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ GOFLAGS+=-ldflags="$(ldflags)"
all: build

.PHONY: build
build: sentinel-visor
build: visor

## FFI

Expand Down Expand Up @@ -73,12 +73,12 @@ testfull:
testshort:
go test -short ./... -v

.PHONY: sentinel-visor
sentinel-visor:
rm -f sentinel-visor
go build $(GOFLAGS) -o sentinel-visor .
.PHONY: visor
visor:
rm -f visor
go build $(GOFLAGS) -o visor .

BINS+=sentinel-visor
BINS+=visor

.PHONY: docker-image
docker-image:
Expand Down

0 comments on commit 5c8b7b8

Please sign in to comment.