From 405f774319dba12d42f1175177baf850101a5734 Mon Sep 17 00:00:00 2001 From: Andrey Beletsky Date: Fri, 17 Dec 2021 15:39:29 +0700 Subject: [PATCH] Add exec flag to lbrynet binary --- Dockerfile | 4 ++-- scripts/build.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7b9512b..3186ad3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:18.04 +FROM ubuntu:latest EXPOSE 5279 5280 VOLUME /storage @@ -12,5 +12,5 @@ COPY conf/regtest_daemon_settings.yml ./ COPY launcher.sh ./launcher.sh COPY scripts/probe.sh ./probe.sh -RUN chmod +x ./*.sh +RUN chmod +x lbrynet ./*.sh CMD ["./launcher.sh"] diff --git a/scripts/build.sh b/scripts/build.sh index b28c78f..2c8e980 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -18,7 +18,7 @@ curl -OL $RELEASE_URL unzip lbrynet-linux.zip rm lbrynet-linux.zip -docker build -t ${BASE_IMAGE_NAME}:${VERSION} . +docker build -t ${BASE_IMAGE_NAME}:${VERSION} --platform linux/amd64 . echo "Launching container for ${BASE_IMAGE_NAME}:${VERSION} and giving it ${WAIT}s to launch..."