Openocd server for cc3200-env

This commit is contained in:
Thomas Klaehn
2019-10-16 10:29:11 +02:00
commit b2133c610c
5 changed files with 184 additions and 0 deletions

28
Dockerfile Normal file
View File

@@ -0,0 +1,28 @@
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