cc3200-env/Dockerfile

29 lines
556 B
Docker
Raw Normal View History

2019-10-16 08:29:11 +00:00
FROM alpine:3.1
RUN apk update
RUN apk add \
build-base \
git \
libtool \
libusb-dev \
perl \
autoconf \
automake \
texinfo
RUN git config --global user.email "tkl@blackfinn.de"
RUN git config --global user.name "Thomas Klaehn"
# Openocd
COPY 0001-openocd-poll.patch /
COPY cc3200.cfg /
COPY openocd-cc3200 /bin
RUN git clone --single-branch --branch v0.9.0 --depth 1 https://repo.or.cz/openocd.git \
&& cd openocd \
&& git am /0001-openocd-poll.patch \
&& ./bootstrap \
&& ./configure \
&& make \
&& make install