-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instructions for building with docker
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM ubuntu:xenial | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
curl \ | ||
libexpat1 \ | ||
libisl15 \ | ||
libmpc3 \ | ||
libmpfr4 \ | ||
python \ | ||
libpython2.7 \ | ||
make | ||
|
||
RUN mkdir /debs | ||
|
||
WORKDIR /debs | ||
|
||
RUN curl -LO https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~xenial1_amd64.deb | ||
|
||
RUN echo "8c359c83adf69a8e3be27f239e14725bb000fdbc0b2f3dc14e9b7654dbcf89ce gcc-arm-embedded_7-2018q2-1~xenial1_amd64.deb" | sha256sum --check | ||
|
||
RUN dpkg -i gcc-arm-embedded_7-2018q2-1~xenial1_amd64.deb |