Skip to content

Commit 544595b

Browse files
committed
chore: build fixes
1 parent b996a3c commit 544595b

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,10 @@ COPY ./ ./
1111

1212
RUN make build
1313

14+
FROM debian:bookworm
15+
16+
17+
COPY --from=builder /app/batch-runner /app/batch-runner
18+
19+
1420
ENTRYPOINT ["/app/batch-runner"]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ vet: ## Run go vet against code.
4242

4343
.PHONY: compress
4444
compress: .bin/upx
45-
upx -5 ./.bin/$(NAME)_linux_amd64 ./.bin/$(NAME)_linux_arm64 ./.bin/$(NAME)_darwin_amd64 ./.bin/$(NAME)_darwin_arm64 ./.bin/$(NAME).exe
45+
upx -5 ./.bin/$(NAME)_linux_amd64 ./.bin/$(NAME)_linux_arm64 ./.bin/$(NAME).exe
4646

4747
.PHONY: linux
4848
linux:

0 commit comments

Comments
 (0)