Merge pull request #520 from fbelavenuto/docker-compiler

Improving docker compiler
This commit is contained in:
Fabio Belavenuto 2023-01-19 16:58:14 -03:00 committed by GitHub
commit e3c79978fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -29,7 +29,6 @@ FROM debian:8-slim
ENV SHELL=/bin/bash \
ARCH=x86_64
COPY --from=stage /opt /opt
RUN apt update --yes && \
apt install --yes --no-install-recommends --no-install-suggests --allow-unauthenticated \
ca-certificates nano curl bc kmod git gettext texinfo autopoint gawk sudo \
@ -38,9 +37,9 @@ RUN apt update --yes && \
rm -rf /var/lib/apt/lists/* && \
useradd --create-home --shell /bin/bash --uid 1000 --user-group arpl && \
echo "arpl ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/arpl && \
chown 1000:1000 -R /opt && \
mkdir /output && chown 1000:1000 /output
COPY --from=stage --chown=1000:1000 /opt /opt
COPY files/ /
USER arpl

View File

@ -25,7 +25,6 @@ function prepare() {
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"
URLS["epyc7002"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/AMD%20x86%20Linux%20Linux%205.10.55%20%28epyc7002%29/epyc7002-${GCCLIB_VER}_x86_64-GPL.txz"
URLS["3.10.x"]="https://ufpr.dl.sourceforge.net/project/dsgpl/Synology%20NAS%20GPL%20Source/25426branch/bromolow-source/linux-3.10.x.txz"
# Read platforms/kerver version
echo "Reading platforms"