mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-22 17:44:22 +00:00
Download toolchain for the local platform as well
This commit is contained in:
parent
184aaba069
commit
92a2f1bea5
1 changed files with 3 additions and 3 deletions
|
@ -6,13 +6,13 @@ RUN apt-get update && \
|
|||
apt-get upgrade --assume-yes
|
||||
|
||||
RUN \
|
||||
if [ ${TARGETPLATFORM} = "linux/amd64" ]; then \
|
||||
if [ ${BUILDPLATFORM} = "linux/amd64" ] || [ ${TARGETPLATFORM} = "linux/amd64" ]; then \
|
||||
apt-get install --assume-yes gcc-x86-64-linux-gnu; \
|
||||
fi && \
|
||||
if [ ${TARGETPLATFORM} = "linux/arm64" ]; then \
|
||||
if [ ${BUILDPLATFORM} = "linux/arm64" ] || [ ${TARGETPLATFORM} = "linux/arm64" ]; then \
|
||||
apt-get install --assume-yes gcc-aarch64-linux-gnu; \
|
||||
fi && \
|
||||
if [ ${TARGETPLATFORM} = "linux/arm/v7" ]; then \
|
||||
if [ ${BUILDPLATFORM} = "linux/arm/v7" ] || [ ${TARGETPLATFORM} = "linux/arm/v7" ]; then \
|
||||
apt-get install --assume-yes gcc-arm-linux-gnueabihf; \
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue