parent
3ff2e31472
commit
60b3bf3ce6
2 changed files with 0 additions and 36 deletions
|
@ -1,26 +0,0 @@
|
|||
|
||||
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"]
|
10
Makefile
10
Makefile
|
@ -62,16 +62,6 @@ protoc:
|
|||
done
|
||||
rm -rf vendor
|
||||
|
||||
# Build all-in-one NeoFS docker image
|
||||
image-aio: images
|
||||
@echo "⇒ Build NeoFS All-In-One Docker image "
|
||||
@docker build \
|
||||
--build-arg HUB_IMAGE=$(HUB_IMAGE) \
|
||||
--build-arg HUB_TAG=$(HUB_TAG) \
|
||||
--rm \
|
||||
-f .docker/Dockerfile.aio \
|
||||
-t $(HUB_IMAGE)-aio:$(HUB_TAG) .
|
||||
|
||||
# Build NeoFS component's docker image
|
||||
image-%:
|
||||
@echo "⇒ Build NeoFS $* docker image "
|
||||
|
|
Loading…
Reference in a new issue