Skip to content

Commit

Permalink
ARM missing gcc-avr (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr committed Apr 12, 2023
1 parent 9dac9d1 commit 8100ec1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ RUN /bin/bash -c "if [ \"$TARGETPLATFORM\" != 'linux/arm64' ]; then \
rm -rf /share/ /tmp/*; \
fi"

# except on platforms we cannot...
RUN /bin/bash -c "if [ \"$TARGETPLATFORM\" == 'linux/arm64' ]; then \
apt-get update && apt-get install --no-install-recommends -y \
avr-libc \
binutils-avr \
gcc-avr \
&& rm -rf /var/lib/apt/lists/*; \
fi"

# Install python packages
RUN python3 -m pip install --upgrade pip setuptools wheel
RUN python3 -m pip install nose2 yapf flake8

0 comments on commit 8100ec1

Please sign in to comment.