From 329eb9787e64cab06b023341381caceea2f1beb0 Mon Sep 17 00:00:00 2001 From: Yann Stepienik Date: Wed, 3 May 2023 10:41:26 +0100 Subject: [PATCH] [release] v 0.3.2: fix ARM build --- build arm64.sh | 11 ++++++++++- docker.sh | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/build arm64.sh b/build arm64.sh index a1e896a..89c125c 100644 --- a/build arm64.sh +++ b/build arm64.sh @@ -4,4 +4,13 @@ if [ $? -ne 0 ]; then exit 1 fi cp -r static build/ -cp package.json build/ \ No newline at end of file +cp -r GeoLite2-Country.mmdb build/ +cp -r Logo.png build/ +mkdir build/images +cp client/src/assets/images/icons/cosmos_gray.png build/cosmos_gray.png +cp client/src/assets/images/icons/cosmos_gray.png cosmos_gray.png +echo '{' > build/meta.json +cat package.json | grep -E '"version"' >> build/meta.json +echo ' "buildDate": "'`date`'",' >> build/meta.json +echo ' "built from": "'`hostname`'"' >> build/meta.json +echo '}' >> build/meta.json \ No newline at end of file diff --git a/docker.sh b/docker.sh index 0cd2087..f545557 100644 --- a/docker.sh +++ b/docker.sh @@ -21,7 +21,7 @@ docker build \ -t azukaar/cosmos-server:$LATEST \ . -sh build arm64.sh +sh build.sh arm64 docker build \ -t azukaar/cosmos-server:$VERSION-arm64 \