rename build binaries

This commit is contained in:
Simon Vieille 2023-08-03 15:37:42 +02:00
parent 0afdce8c5f
commit d6e0b063e0
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 4 additions and 4 deletions

View file

@ -10,6 +10,6 @@ RUN BUILD_DIR=/app make
FROM debian:stable-slim
RUN apt-get update && apt-get install -y ca-certificates
COPY --from=builder /app/capture /usr/bin/capture
COPY --from=builder /app/capture-linux-amd64 /usr/bin/capture
ENTRYPOINT ["/usr/bin/capture"]

View file

@ -4,11 +4,11 @@ CFLAGS = -trimpath
LDFLAGS = all=-w -s
GCFLAGS = all=
ASMFLAGS = all=
GOARCH ?= amd64
GOARCH = amd64
BUILD_DIR ?= build
LINUX_BIN ?= capture
WIN_BIN ?= capture.exe
LINUX_BIN ?= capture-linux-amd64
WIN_BIN ?= capture-window-amd64.exe
all: build