From e7cb5db4fa64f2737ba152a2f35986455d25f570 Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Thu, 8 Feb 2024 11:47:48 +0300 Subject: [PATCH] [#33] Allow to change any frostfs binary without neo-go Signed-off-by: Denis Kirillov --- Dockerfile | 4 ++-- Dockerfile.custom | 7 ++----- Dockerfile.local | 4 ++-- README.md | 7 ++++--- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3d0e8ef..df77f4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,8 +54,8 @@ COPY ./sn/config.yaml /config/config-sn.yaml COPY ./vendor/locode_db /config/locode.db COPY ./vendor/contracts/ /config/contracts -COPY ./bin/init-aio.sh /config/bin/init-aio.sh +COPY ./bin/init-aio.sh /usr/bin/init-aio.sh ENV AUTHMATE_WALLET_PASSPHRASE="" -ENTRYPOINT ["/config/bin/init-aio.sh"] +ENTRYPOINT ["/usr/bin/init-aio.sh"] diff --git a/Dockerfile.custom b/Dockerfile.custom index 3897250..33d1a41 100644 --- a/Dockerfile.custom +++ b/Dockerfile.custom @@ -54,11 +54,8 @@ COPY ./sn/config.yaml /config/config-sn.yaml COPY ./vendor/locode_db /config/locode.db COPY ./vendor/contracts/ /config/contracts -COPY ./bin/init-aio.sh /config/bin/init-aio.sh - -COPY ./bin/neo-go* /usr/bin/ -COPY ./bin/frostfs-* /usr/bin/ +COPY ./bin/* /usr/bin/ ENV AUTHMATE_WALLET_PASSPHRASE="" -ENTRYPOINT ["/config/bin/init-aio.sh"] +ENTRYPOINT ["/usr/bin/init-aio.sh"] diff --git a/Dockerfile.local b/Dockerfile.local index 4d403a9..f73c2d2 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -38,8 +38,8 @@ COPY ./sn/config.yaml /config/config-sn.yaml COPY ./vendor/locode_db /config/locode.db COPY ./vendor/contracts/ /config/contracts -COPY ./bin/init-aio.sh /config/bin/init-aio.sh +COPY ./bin/init-aio.sh /usr/bin/init-aio.sh ENV AUTHMATE_WALLET_PASSPHRASE="" -ENTRYPOINT ["/config/bin/init-aio.sh"] +ENTRYPOINT ["/usr/bin/init-aio.sh"] diff --git a/README.md b/README.md index aa6664d..2006b92 100644 --- a/README.md +++ b/README.md @@ -129,10 +129,11 @@ $ make image-aio-local This target is useful when one needs to change only a few binaries and keep the others "as is". Put the needed binaries to `frostfs-aio/bin/`. Make sure they all have the `x` right for the -execution enabled. All the binaries falling down to these masks will be copied to image: -- frostfs-* -- neo-go* +execution enabled. All the binaries will be copied to image. +``` sh +$ make image-aio-custom +``` # Simple storage