From 0934900046ce5990e64df5b253054bc50053576e Mon Sep 17 00:00:00 2001 From: Oleg Nikonychev Date: Thu, 15 Aug 2024 18:54:18 +0400 Subject: [PATCH] feat: add pebbledb support --- .goreleaser.yml | 2 +- contrib/docker/goreleaser.Dockerfile | 8 ++++---- contrib/make/build.mk | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 07206abc6..fde09a1e3 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -84,4 +84,4 @@ builds: - muslc universal_binaries: - - id: darwin \ No newline at end of file + - id: darwin diff --git a/contrib/docker/goreleaser.Dockerfile b/contrib/docker/goreleaser.Dockerfile index 2b1e9b7d1..8d9c5432f 100644 --- a/contrib/docker/goreleaser.Dockerfile +++ b/contrib/docker/goreleaser.Dockerfile @@ -1,7 +1,7 @@ -FROM golang:1.19 AS builder +FROM golang:1.21 AS builder WORKDIR /root -COPY dist/ /root/ +COPY ./dist/ /root/ ARG TARGETARCH RUN if [ "${TARGETARCH}" = "arm64" ]; then \ @@ -10,11 +10,11 @@ RUN if [ "${TARGETARCH}" = "arm64" ]; then \ cp linux_linux_amd64_v1/nibid /root/nibid; \ fi -FROM alpine +FROM alpine:latest WORKDIR /root RUN apk --no-cache add ca-certificates COPY --from=builder /root/nibid /usr/local/bin/nibid ENTRYPOINT ["nibid"] -CMD [ "start" ] \ No newline at end of file +CMD [ "start" ] diff --git a/contrib/make/build.mk b/contrib/make/build.mk index 27cc3e167..8a4c27d58 100644 --- a/contrib/make/build.mk +++ b/contrib/make/build.mk @@ -142,4 +142,4 @@ go.sum: go.mod @echo "--> Ensure dependencies have not been modified" @go mod verify -.PHONY: build install \ No newline at end of file +.PHONY: build install