-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from cortze/feat/add-db-batching
Upgrade the DB client to support batching of PSQL queries
- Loading branch information
Showing
41 changed files
with
1,895 additions
and
9,341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
./analyzer/ | ||
./docs/ | ||
CITATION.cff | ||
README.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Create a go image to compile the tool | ||
FROM golang:1.19.7-buster AS builder | ||
|
||
# Install git for building the dependencies | ||
WORKDIR / | ||
RUN apt-get install git | ||
|
||
# Copy the relevant code into the Ipfs-Cid-Hoarder folder | ||
# and compile the tool | ||
COPY ./ /ipfs-cid-hoarder | ||
WORKDIR /ipfs-cid-hoarder | ||
RUN make dependencies | ||
RUN make build | ||
|
||
# Bring the binary into a low profile debian image | ||
FROM debian:buster-slim | ||
|
||
# Copy the hoarder's binary into the new image | ||
WORKDIR / | ||
COPY --from=builder /ipfs-cid-hoarder/build/ /cli | ||
|
||
# Expose the port for the Libp2p hosts | ||
EXPOSE 9010 | ||
|
||
# define the endpoint | ||
ENTRYPOINT ["/cli/ipfs-cid-hoarder"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.