rename build binaries
This commit is contained in:
parent
0afdce8c5f
commit
d6e0b063e0
|
@ -10,6 +10,6 @@ RUN BUILD_DIR=/app make
|
||||||
FROM debian:stable-slim
|
FROM debian:stable-slim
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y ca-certificates
|
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"]
|
ENTRYPOINT ["/usr/bin/capture"]
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -4,11 +4,11 @@ CFLAGS = -trimpath
|
||||||
LDFLAGS = all=-w -s
|
LDFLAGS = all=-w -s
|
||||||
GCFLAGS = all=
|
GCFLAGS = all=
|
||||||
ASMFLAGS = all=
|
ASMFLAGS = all=
|
||||||
GOARCH ?= amd64
|
GOARCH = amd64
|
||||||
|
|
||||||
BUILD_DIR ?= build
|
BUILD_DIR ?= build
|
||||||
LINUX_BIN ?= capture
|
LINUX_BIN ?= capture-linux-amd64
|
||||||
WIN_BIN ?= capture.exe
|
WIN_BIN ?= capture-window-amd64.exe
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue