Openocd server for cc3200-env
This commit is contained in:
28
Dockerfile
Normal file
28
Dockerfile
Normal 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
|
||||
|
Reference in New Issue
Block a user