Skip to content

Commit

Permalink
Update gcc from 10.2.1 to 10.3.1 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
JanneSiren authored Aug 18, 2022
1 parent d690e63 commit f98c1ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ RUN pip3 install pycryptodome==3.9.7
WORKDIR /home/${user}

# Install Arm compiler
RUN curl -Lso gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2?revision=ca0cbf9c-9de2-491c-ac48-898b5bbc0443&hash=3710A129B3F3955AFDC7A74934A611E6C7F218AE" \
&& tar xjf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 -C /opt/ \
&& rm -f gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
RUN curl -Lso gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2" \
&& tar xjf gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 -C /opt/ \
&& rm -f gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2

# Add Gcc 10 compiler to default path
ENV PATH="/opt/gcc-arm-none-eabi-10-2020-q4-major/bin:${PATH}"
# Add Gcc 10.3 compiler to default path
ENV PATH="/opt/gcc-arm-none-eabi-10.3-2021.10/bin:${PATH}"

# No need to be root anymore
USER ${user}
Expand Down

0 comments on commit f98c1ca

Please sign in to comment.