aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: e9ccaa037d245bb1520d24329f2e56b27c76a5a1 (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
FROM cryptech-builder:base

# 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 sed -i -E \
	-e '/stretch-backports/d' \
	-e '/ stretch /{; h; s/ stretch / stretch-backports /; x; G; }' \
	/etc/apt/sources.list && \
    apt-get update && \
    apt-get upgrade --with-new-pkgs -y && \
    apt-get install -y \
	avr-libc \
	binutils-avr \
	debootstrap/stretch-backports \
	distro-info-data \
	gcc-arm-none-eabi \
	gcc-avr \
	git \
	pbuilder \
	python-crypto \
	python-serial \
	python-yaml \
	reprepro \
	ubuntu-archive-keyring \
	ubuntu-dev-tools

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