From d6e0b063e0dee5e960d0254ad41976df4e598533 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Thu, 3 Aug 2023 15:37:42 +0200 Subject: [PATCH] rename build binaries --- Dockerfile | 2 +- Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f125ef2..2ba558f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/Makefile b/Makefile index 8383bec..961c529 100644 --- a/Makefile +++ b/Makefile @@ -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