forked from neurobionics/rob311pi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
packages.Pifile
34 lines (26 loc) · 1.29 KB
/
packages.Pifile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Add bash commands to install required packages
RUN apt-get install -y python3-pip --upgrade
RUN apt-get install -y git
RUN apt install -y libnss-resolve
RUN apt-get install ufw -y
# Gh
RUN bash -c "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
RUN bash -c 'echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null'
RUN apt-get update
RUN apt-get install gh
# Python3-smbus (I2C Tools package is already installed)
RUN apt-get install -y python3-smbus
# Python plotting tool: rtplot
RUN bash -c "python3 -m pip install pyzmq"
RUN bash -c "git clone https://github.com/jmontp/rtplot.git /home/${user}/rtplot"
RUN bash -c "python3 -m pip install /home/${user}/rtplot/"
# Example code
RUN bash -c "git clone https://github.com/erouse/RPi_example_code /home/${user}/RPi_example_code"
# LIBCBLAS
RUN apt-get install -y libatlas-base-dev
# Minicom
sudo apt-get install -y minicom
# ROB311 Python packages
RUN bash -c "python3 -m pip install pyPS4Controller"
RUN bash -c "python3 -m pip install simple-pid"
RUN bash -c "python3 -m pip install adafruit-circuitpython-dotstar"