From ffc4a063465860bb8584ad915aef27f3fe4a0fc7 Mon Sep 17 00:00:00 2001 From: Fabio Belavenuto Date: Fri, 25 Nov 2022 16:38:33 -0300 Subject: [PATCH] Adding r1000 platform into docker image --- docker/Dockerfile.template | 2 +- docker/build.sh | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/docker/Dockerfile.template b/docker/Dockerfile.template index b03e565f..ba1558e4 100644 --- a/docker/Dockerfile.template +++ b/docker/Dockerfile.template @@ -23,7 +23,7 @@ ENV SHELL=/bin/bash \ ARCH=x86_64 RUN apt update --yes && \ - apt install --yes --no-install-recommends --no-install-suggests \ + apt install --yes --no-install-recommends --no-install-suggests --allow-unauthenticated \ ca-certificates nano curl bc kmod git gettext texinfo autopoint gawk sudo \ build-essential make ncurses-dev libssl-dev autogen automake pkg-config libtool xsltproc gperf && \ apt-get clean && \ diff --git a/docker/build.sh b/docker/build.sh index bc634f5f..e7296baa 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -19,6 +19,7 @@ function prepare() { URLS["denverton"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/Intel%20x86%20Linux%204.4.180%20%28Denverton%29/denverton-${GCCLIB_VER}_x86_64-GPL.txz" URLS["geminilake"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/Intel%20x86%20Linux%204.4.180%20%28GeminiLake%29/geminilake-${GCCLIB_VER}_x86_64-GPL.txz" URLS["v1000"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/Intel%20x86%20Linux%204.4.180%20%28V1000%29/v1000-${GCCLIB_VER}_x86_64-GPL.txz" + URLS["r1000"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/AMD%20x86%20Linux%204.4.180%20%28r1000%29/r1000-${GCCLIB_VER}_x86_64-GPL.txz" # Read platforms/kerver version echo "Reading platforms" @@ -62,13 +63,13 @@ function prepare() { } # 7.0 -TOOLKIT_VER="7.0" -TOOLCHAIN_VER="7.0-41890" -GCCLIB_VER="gcc750_glibc226" -prepare -echo "Building ${TOOLKIT_VER}" -docker image rm fbelavenuto/syno-compiler:${TOOLKIT_VER} >/dev/null 2>&1 -docker buildx build . --load --tag fbelavenuto/syno-compiler:${TOOLKIT_VER} +#TOOLKIT_VER="7.0" +#TOOLCHAIN_VER="7.0-41890" +#GCCLIB_VER="gcc750_glibc226" +#prepare +#echo "Building ${TOOLKIT_VER}" +#docker image rm fbelavenuto/syno-compiler:${TOOLKIT_VER} >/dev/null 2>&1 +#docker buildx build . --load --tag fbelavenuto/syno-compiler:${TOOLKIT_VER} # 7.1 TOOLKIT_VER="7.1"