Compare commits
No commits in common. "fced67d7c55ab417048dfaa0066444f1c8bbc78a" and "b2133c610c834190f4fbcb59a3f1752816c98a1a" have entirely different histories.
fced67d7c5
...
b2133c610c
13
Dockerfile
13
Dockerfile
@ -9,21 +9,20 @@ RUN apk add \
|
||||
perl \
|
||||
autoconf \
|
||||
automake \
|
||||
texinfo
|
||||
|
||||
COPY *.patch /
|
||||
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 /*.patch \
|
||||
&& git am /0001-openocd-poll.patch \
|
||||
&& ./bootstrap \
|
||||
&& ./configure \
|
||||
&& make \
|
||||
&& make install
|
||||
|
||||
COPY cc3200.cfg /
|
||||
COPY start_openocd.sh /bin
|
||||
|
||||
|
@ -8,5 +8,5 @@ docker build -t cc3200-env .
|
||||
|
||||
### Openocd server
|
||||
|
||||
docker run --privileged -p 3333:3333 cc3200-env sh start_openocd.sh
|
||||
docker run --privileged -p 3333:3333 cc3200-env openocd-cc3200
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#/bin/sh
|
||||
#!/bin/sh
|
||||
|
||||
openocd -f /cc3200.cfg
|
||||
|
Loading…
x
Reference in New Issue
Block a user