Skip to content

Commit 3257391

Browse files
committed
Updating to use docker compose
1 parent d29757d commit 3257391

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

docker-compose.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
services:
2+
gdbuddy:
3+
image: gdbuddy:latest
4+
environment:
5+
RUNNER_ORG:
6+
RUNNER_TOKEN:
7+
privileged: true
8+
devices:
9+
- "/dev/ttyACM0:/dev/ttyACM0"

entrypoint.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
#/bin/sh
22

3-
echo $RUNNER_TOKEN
4-
53
cd /runner && \
6-
./config.sh --url https://github.com/allegheny-college-cmpsc-200-fall-2024 --token $RUNNER_TOKEN &&
4+
./config.sh --url $RUNNER_ORG --token $RUNNER_TOKEN &&
75
./run.sh &
86

97
/tools/openocd/src/openocd -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s /tools/openocd/tcl -f /tools/openocd-helpers.tcl -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000"
10-
11-
# /bin/bash

0 commit comments

Comments
 (0)