2023-05-15 11:22:33 +00:00
|
|
|
ARG FROSTFS_HUB_IMAGE=truecloudlab/frostfs
|
|
|
|
ARG NEOGO_HUB_IMAGE=nspccdev/neo-go
|
|
|
|
|
2024-09-17 11:21:15 +00:00
|
|
|
ARG FROSTFS_CORE_TAG=0.42.15
|
2024-07-08 13:01:42 +00:00
|
|
|
ARG FROSTFS_HTTP_GATE_TAG=0.30.2
|
2024-09-17 11:21:15 +00:00
|
|
|
ARG FROSTFS_S3_GATE_TAG=0.30.6
|
2024-09-04 13:00:42 +00:00
|
|
|
ARG NEOGO_TAG=0.106.0
|
2023-05-15 11:22:33 +00:00
|
|
|
|
2024-07-08 12:42:44 +00:00
|
|
|
FROM ${NEOGO_HUB_IMAGE}:${NEOGO_TAG} AS neo-go
|
|
|
|
FROM ${FROSTFS_HUB_IMAGE}-adm:${FROSTFS_CORE_TAG} AS frostfs-adm
|
|
|
|
FROM ${FROSTFS_HUB_IMAGE}-cli:${FROSTFS_CORE_TAG} AS frostfs-cli
|
|
|
|
FROM ${FROSTFS_HUB_IMAGE}-ir:${FROSTFS_CORE_TAG} AS frostfs-ir
|
|
|
|
FROM ${FROSTFS_HUB_IMAGE}-storage:${FROSTFS_CORE_TAG} AS frostfs-storage
|
|
|
|
FROM ${FROSTFS_HUB_IMAGE}-s3-gw:${FROSTFS_S3_GATE_TAG} AS frostfs-s3-gw
|
|
|
|
FROM ${FROSTFS_HUB_IMAGE}-http-gw:${FROSTFS_HTTP_GATE_TAG} AS frostfs-http-gw
|
2023-05-15 11:22:33 +00:00
|
|
|
|
|
|
|
# Executable image
|
|
|
|
FROM alpine AS frostfs-aio
|
|
|
|
RUN apk add --no-cache \
|
|
|
|
bash \
|
|
|
|
ca-certificates \
|
|
|
|
jq \
|
|
|
|
expect \
|
|
|
|
iputils \
|
|
|
|
curl
|
|
|
|
|
|
|
|
WORKDIR /
|
|
|
|
|
|
|
|
COPY --from=neo-go /usr/bin/neo-go /usr/bin/neo-go
|
|
|
|
COPY --from=frostfs-adm /bin/frostfs-adm /usr/bin/frostfs-adm
|
|
|
|
COPY --from=frostfs-cli /bin/frostfs-cli /usr/bin/frostfs-cli
|
|
|
|
COPY --from=frostfs-ir /bin/frostfs-ir /usr/bin/frostfs-ir
|
|
|
|
COPY --from=frostfs-storage /bin/frostfs-node /usr/bin/frostfs-node
|
|
|
|
COPY --from=frostfs-s3-gw /bin/frostfs-s3-gw /usr/bin/frostfs-s3-gw
|
|
|
|
COPY --from=frostfs-s3-gw /bin/frostfs-s3-authmate /usr/bin/frostfs-s3-authmate
|
|
|
|
COPY --from=frostfs-http-gw /bin/frostfs-http-gw /usr/bin/frostfs-http-gw
|
|
|
|
|
|
|
|
COPY ./adm/frostfs-adm.yml /config/frostfs-adm.yml
|
|
|
|
COPY ./ir/cli-cfg.yaml /config/cli-cfg-ir.yaml
|
|
|
|
COPY ./ir/config.yaml /config/config-ir.yaml
|
|
|
|
COPY ./morph/protocol.privnet.yml /config/protocol.privnet.yml
|
|
|
|
COPY ./morph/node-wallet.json /config/alphabet/az.json
|
2023-12-08 11:52:36 +00:00
|
|
|
COPY ./morph/node-wallet.json /config/alphabet/contract.json
|
2023-05-15 11:22:33 +00:00
|
|
|
COPY ./morph/node-wallet.json /config/node-wallet.json
|
|
|
|
COPY ./morph/node-config.yaml /config/node-config.yaml
|
|
|
|
COPY ./http-gw/http-gw-config.yaml /config/http-gw-config.yaml
|
|
|
|
COPY ./http-gw/http-gw-wallet.json /config/http-gw-wallet.json
|
|
|
|
COPY ./s3-gw/rules.json /config/bearer-rules.json
|
2024-09-05 11:19:55 +00:00
|
|
|
COPY ./s3-gw/regions.json /config/regions.json
|
2023-05-15 11:22:33 +00:00
|
|
|
COPY ./s3-gw/s3-gw-config.yaml /config/s3-gw-config.yaml
|
|
|
|
COPY ./s3-gw/s3-gw-wallet.json /config/s3-gw-wallet.json
|
|
|
|
COPY ./s3-gw/user-wallet.json /config/user-wallet.json
|
|
|
|
COPY ./sn/cli-cfg.yaml /config/cli-cfg-sn.yaml
|
|
|
|
COPY ./sn/wallet.json /config/wallet-sn.json
|
|
|
|
COPY ./sn/config.yaml /config/config-sn.yaml
|
|
|
|
COPY ./vendor/locode_db /config/locode.db
|
|
|
|
COPY ./vendor/contracts/ /config/contracts
|
|
|
|
|
2024-02-08 08:47:48 +00:00
|
|
|
COPY ./bin/init-aio.sh /usr/bin/init-aio.sh
|
2024-07-08 12:34:55 +00:00
|
|
|
COPY ./bin/issue-creds.sh /usr/bin/issue-creds.sh
|
2023-05-15 11:22:33 +00:00
|
|
|
|
|
|
|
ENV AUTHMATE_WALLET_PASSPHRASE=""
|
2024-07-08 12:28:26 +00:00
|
|
|
ENV AUTHMATE_WALLET_CONTRACT_PASSPHRASE=""
|
2023-05-15 11:22:33 +00:00
|
|
|
|
2024-02-08 08:47:48 +00:00
|
|
|
ENTRYPOINT ["/usr/bin/init-aio.sh"]
|