1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00
trezor-firmware/Dockerfile

21 lines
425 B
Docker
Raw Normal View History

2014-06-18 22:31:40 +00:00
# initialize from the image
FROM ubuntu:14.04
2015-08-05 14:38:53 +00:00
# update repositories
2015-04-02 15:47:28 +00:00
2015-08-05 14:38:53 +00:00
RUN apt-get update
2014-06-18 22:31:40 +00:00
# install build tools and dependencies
2015-08-05 14:38:53 +00:00
RUN apt-get install -y build-essential git python gcc-arm-none-eabi
2014-06-18 22:31:40 +00:00
# clone the source code
2014-12-27 15:33:44 +00:00
RUN git clone https://github.com/libopencm3/libopencm3
2014-06-18 22:31:40 +00:00
# build libopencm3
2015-08-03 17:10:46 +00:00
ENV LIBOPENCM3_GITREV 7b29caed1a726b5cef4c269b6a6ef7a1f1dd105c
2014-06-22 22:37:24 +00:00
RUN cd libopencm3 && git checkout $LIBOPENCM3_GITREV && make