Skip to content

Commit

Permalink
Merge pull request #105 from HumanDynamics/dev
Browse files Browse the repository at this point in the history
Fixing raspi issues
  • Loading branch information
OrenLederman authored Aug 14, 2018
2 parents 4db6590 + 7e98117 commit f0cf22d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions compose/Dockerfile_raspi
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ COPY compose/JLink_Linux_V616i_arm.tgz /opt/downloads/JLink_Linux_V616i_arm.tgz
RUN tar -C /opt/ -xzf downloads/JLink_Linux_V616i_arm.tgz
RUN ln -s /opt/JLink_Linux_V616i_arm/JLinkExe /usr/local/bin/JLinkExe

# Uncomment if running on a remote raspberry pi machine
#COPY . /app
# Fix missing library error
RUN ln -s /lib/arm-linux-gnueabihf/libudev.so.1 /lib/arm-linux-gnueabihf/libudev.so.0

################################
## Bluetooth Python environment
Expand All @@ -61,3 +61,9 @@ RUN apt-get update && apt-get install -y \

COPY ./requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt

################################
## Misc
################################
# Uncomment if running on a remote raspberry pi machine
#COPY . /app
1 change: 1 addition & 0 deletions docker-compose-raspi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ services:
- .:/app
- /dev/bus/usb:/dev/bus/usb #required for serial port access
privileged: true
network_mode: "host" #required for bluetooth access
entrypoint: ["/app/compose/entry_point.sh"]
command: ["badge_03v6_noDebug","flashAPP"]

0 comments on commit f0cf22d

Please sign in to comment.