From 7b87c11ccf4929ab4db33324989cd818468b7b9e Mon Sep 17 00:00:00 2001 From: Sergey <61871201+SergeyLadanov@users.noreply.github.com> Date: Thu, 26 Oct 2023 23:18:13 +0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 78b6621..36737e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM debian:stable-slim -ARG VERSION=12.3.rel1 +ARG VERSION=11.3.rel1 RUN ARCH="$(dpkg --print-architecture)" && \ case $ARCH in \ @@ -29,7 +29,10 @@ RUN ARCH="$(dpkg --print-architecture)" && \ #wget https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v${VERSION}/xpack-arm-none-eabi-gcc-${VERSION}-linux-${ARCH_TAG}.tar.gz && \ #tar xvf xpack-arm-none-eabi-gcc-${VERSION}-linux-${ARCH_TAG}.tar.gz && \ rm arm-gnu-toolchain-${VERSION}-${ARCH_TAG}-arm-none-eabi.tar.xz && \ - echo 'export PATH="/workdir/arm-gnu-toolchain-'${VERSION}'-'${ARCH_TAG}'-arm-none-eabi/bin:$PATH"' >> /etc/bashrc + echo 'export PATH="/workdir/arm-gnu-toolchain-'${VERSION}'-'${ARCH_TAG}'-arm-none-eabi/bin:$PATH"' >> /etc/bashrc && \ + apt-get remove ca-certificates xz-utils wget -y && \ + apt autoremove -y && \ + apt autoclean -y && \ ADD entrypoint.sh /entrypoint.sh