Skip to content

Commit

Permalink
feat: add pebbledb support
Browse files Browse the repository at this point in the history
  • Loading branch information
onikonychev committed Aug 15, 2024
1 parent a5279d1 commit 7e6ad5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ builds:
- muslc

universal_binaries:
- id: darwin
- id: darwin
8 changes: 4 additions & 4 deletions contrib/docker/goreleaser.Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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" ]
CMD [ "start" ]
2 changes: 1 addition & 1 deletion contrib/make/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ go.sum: go.mod
@echo "--> Ensure dependencies have not been modified"
@go mod verify

.PHONY: build install
.PHONY: build install

0 comments on commit 7e6ad5d

Please sign in to comment.