forked from nspcc-dev/neofs-node
-
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 branch 'master' of https://github.com/nspcc-dev/neofs-node
- Loading branch information
Showing
267 changed files
with
8,293 additions
and
2,852 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,22 @@ | ||
FROM golang:1.16-alpine as basebuilder | ||
RUN apk add --update make bash | ||
|
||
FROM basebuilder as builder | ||
ARG BUILD=now | ||
ARG VERSION=dev | ||
ARG REPO=repository | ||
WORKDIR /src | ||
COPY . /src | ||
|
||
RUN make bin/neofs-adm | ||
|
||
# Executable image | ||
FROM alpine AS neofs-adm | ||
RUN apk add --no-cache bash | ||
|
||
WORKDIR / | ||
|
||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | ||
COPY --from=builder /src/bin/neofs-adm /bin/neofs-adm | ||
|
||
CMD ["neofs-adm"] |
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,26 @@ | ||
|
||
ARG HUB_IMAGE=nspccdev/neofs | ||
ARG HUB_TAG=latest | ||
|
||
FROM ${HUB_IMAGE}-cli:${HUB_TAG} as neofs-cli | ||
FROM ${HUB_IMAGE}-ir:${HUB_TAG} as neofs-ir | ||
FROM ${HUB_IMAGE}-storage:${HUB_TAG} as neofs-storage | ||
FROM ${HUB_IMAGE}-adm:${HUB_TAG} as neofs-adm | ||
|
||
# Executable image | ||
FROM alpine AS neofs-aio | ||
RUN apk add --no-cache \ | ||
bash \ | ||
ca-certificates \ | ||
jq \ | ||
expect \ | ||
iputils | ||
|
||
WORKDIR / | ||
|
||
COPY --from=neofs-cli /bin/neofs-cli /bin/neofs-cli | ||
COPY --from=neofs-ir /bin/neofs-ir /bin/neofs-ir | ||
COPY --from=neofs-storage /bin/neofs-node /bin/neofs-node | ||
COPY --from=neofs-adm /bin/neofs-adm /bin/neofs-adm | ||
|
||
CMD ["neofs-cli"] |
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
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,8 @@ | ||
FROM alpine | ||
RUN apk add --no-cache bash ca-certificates | ||
|
||
WORKDIR / | ||
|
||
COPY bin/neofs-adm /bin/neofs-adm | ||
|
||
CMD ["neofs-adm"] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
2 changes: 1 addition & 1 deletion
2
Dockerfile.storage-testnet → .docker/Dockerfile.storage-testnet
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
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
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
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
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.