From c4796d951c922da77ac6c41b85180f540f7dcbdc Mon Sep 17 00:00:00 2001 From: tanlang Date: Thu, 9 Jun 2022 10:35:46 +0800 Subject: [PATCH] style:add reture to the end of file --- Makefile | 2 +- docker/script/compose.sh | 2 +- docker/script/init.sh | 2 +- docker/script/wait-for-it.sh | 2 +- dockerfile | 4 ---- 5 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 041323f5..07340ecc 100644 --- a/Makefile +++ b/Makefile @@ -68,4 +68,4 @@ build: $(BUILD_DEPS) BUILD_DOCKER_PROXY= docker: - docker build --build-arg https_proxy=$(BUILD_DOCKER_PROXY) -t venus-market . \ No newline at end of file + docker build --build-arg https_proxy=$(BUILD_DOCKER_PROXY) -t venus-market . diff --git a/docker/script/compose.sh b/docker/script/compose.sh index 0b3fcb81..d4c4db49 100755 --- a/docker/script/compose.sh +++ b/docker/script/compose.sh @@ -21,4 +21,4 @@ echo "Compose Int End!" --auth-url=http://127.0.0.1:8989 \ --gateway-url=/ip4/127.0.0.1/tcp/45132/ \ --messager-url=/ip4/127.0.0.1/tcp/39812/ \ ---auth-token=${token} \ No newline at end of file +--auth-token=${token} diff --git a/docker/script/init.sh b/docker/script/init.sh index 5dcf2ab3..d37b9b9b 100755 --- a/docker/script/init.sh +++ b/docker/script/init.sh @@ -12,4 +12,4 @@ cat /docker/config/PieceStorage.toml > ~/.venusmarket/config.toml cat ~/.venusmarket/config.toml echo "Init End!" -/app/venus-market $@ \ No newline at end of file +/app/venus-market $@ diff --git a/docker/script/wait-for-it.sh b/docker/script/wait-for-it.sh index 3974640b..d990e0d3 100755 --- a/docker/script/wait-for-it.sh +++ b/docker/script/wait-for-it.sh @@ -179,4 +179,4 @@ if [[ $WAITFORIT_CLI != "" ]]; then exec "${WAITFORIT_CLI[@]}" else exit $WAITFORIT_RESULT -fi \ No newline at end of file +fi diff --git a/dockerfile b/dockerfile index abce7c0b..7b9ff2bb 100644 --- a/dockerfile +++ b/dockerfile @@ -31,7 +31,3 @@ COPY --from=buildenv /usr/lib/x86_64-linux-gnu/libhwloc.so.5 \ EXPOSE 41235 58418 ENTRYPOINT ["/script/init.sh"] - - - -