mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
Dockerfile: update gcc to new release, add checksums
This commit is contained in:
parent
2b429a85ee
commit
a3cca11181
12
Dockerfile
12
Dockerfile
@ -22,13 +22,19 @@ RUN if [ "$TOOLCHAIN_FLAVOR" = "src" ]; then \
|
|||||||
|
|
||||||
# download toolchain
|
# download toolchain
|
||||||
|
|
||||||
ENV TOOLCHAIN_SHORTVER=7-2018q2
|
ENV TOOLCHAIN_SHORTVER=8-2018q4
|
||||||
ENV TOOLCHAIN_LONGVER=gcc-arm-none-eabi-7-2018-q2-update
|
ENV TOOLCHAIN_LONGVER=gcc-arm-none-eabi-8-2018-q4-major
|
||||||
ENV TOOLCHAIN_URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/$TOOLCHAIN_SHORTVER/$TOOLCHAIN_LONGVER-$TOOLCHAIN_FLAVOR.tar.bz2
|
ENV TOOLCHAIN_URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/$TOOLCHAIN_SHORTVER/$TOOLCHAIN_LONGVER-$TOOLCHAIN_FLAVOR.tar.bz2
|
||||||
|
ENV TOOLCHAIN_HASH_linux=fb31fbdfe08406ece43eef5df623c0b2deb8b53e405e2c878300f7a1f303ee52
|
||||||
|
ENV TOOLCHAIN_HASH_src=bc228325dbbfaf643f2ee5d19e01d8b1873fcb9c31781b5e1355d40a68704ce7
|
||||||
|
|
||||||
# extract toolchain
|
# extract toolchain
|
||||||
|
|
||||||
RUN cd /opt && wget $TOOLCHAIN_URL && tar xfj $TOOLCHAIN_LONGVER-$TOOLCHAIN_FLAVOR.tar.bz2
|
RUN cd /opt && wget $TOOLCHAIN_URL
|
||||||
|
|
||||||
|
RUN cd /opt && echo "$TOOLCHAIN_HASH_linux $TOOLCHAIN_LONGVER-linux.tar.bz2\n$TOOLCHAIN_HASH_src $TOOLCHAIN_LONGVER-src.tar.bz2" | sha256sum -c --ignore-missing
|
||||||
|
|
||||||
|
RUN cd /opt && tar xfj $TOOLCHAIN_LONGVER-$TOOLCHAIN_FLAVOR.tar.bz2
|
||||||
|
|
||||||
# build toolchain (if required)
|
# build toolchain (if required)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user