aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 284d3f894e9d58a20b04392ec1c1d22c599ccdf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM cryptech-builder:base

# Should conditionalize the "jessie-backports" stuff on --build-env=DEBIAN_RELEASE
# from Makefile.  Later.

RUN echo 'deb http://deb.debian.org/debian jessie-backports main' \
	 > /etc/apt/sources.list.d/backports.list

# Stuff we need we need to build firmware and client packages.  This
# stuff is much more likely to change than the XiLinx tools, so we put
# it at the end of the build where we can use normal Docker tooling.

RUN apt-get update && \
    apt-get install -y \
	    avr-libc \
	    binutils-avr \
	    gcc-arm-none-eabi \
	    gcc-avr \
	    git \
	    python-crypto \
	    python-serial \
	    python-yaml \
	    reprepro \
	    ubuntu-archive-keyring \
	    ubuntu-dev-tools \
	    pbuilder && \
    apt-get -t jessie-backports install -y \
	    debootstrap distro-info-data

USER	builder
WORKDIR /home/builder
CMD	/bin/bash