From 71da8fe2381c429396156ed10b9d118237841072 Mon Sep 17 00:00:00 2001 From: Dheeraj Dubey Date: Thu, 2 Mar 2023 18:40:42 +0530 Subject: [PATCH] update docker cmds --- Dockerfile | 4 +++- scripts/protoc_swagger_gen.sh | 0 2 files changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 scripts/protoc_swagger_gen.sh diff --git a/Dockerfile b/Dockerfile index fee973993..0fcfc9e06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,9 +34,11 @@ RUN LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make build \ && (file /code/bin/comdex | grep "statically linked") # -------------------------------------------------------- -FROM alpine:3.16 +#FROM alpine:3.16 +FROM golang COPY --from=go-builder /code/bin/comdex /usr/bin/comdex +RUN apt update && apt install -y python3 protobuf-compiler COPY docker/* /opt/ RUN chmod +x /opt/*.sh diff --git a/scripts/protoc_swagger_gen.sh b/scripts/protoc_swagger_gen.sh old mode 100644 new mode 100755