-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
33 lines (26 loc) · 958 Bytes
/
Dockerfile
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
FROM ubuntu:22.04
# Install required apt packages
RUN apt-get update && apt-get install -y \
git \
python3-pip
# Clone the repositories
COPY . /spot-rl
WORKDIR /spot-rl
COPY external /spot-rl/external
WORKDIR /spot-rl/external
# Put spot-private-sdk wheels in spot-rl/external/spot-python-sdk/prebuilt
# ^ This can be done with a `gitman update` or by manual intervention
# Install Python dependencies for low level spot API
WORKDIR /spot-rl/external/spot-python-sdk/prebuilt
RUN pip3 install bosdyn_api-4.0.0-py3-none-any.whl \
bosdyn_core-4.0.0-py3-none-any.whl \
bosdyn_client-4.0.0-py3-none-any.whl
RUN pip3 install pygame \
pyPS4Controller \
spatialmath-python \
onnxruntime
# Copy the entrypoint script to the container
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Set the entrypoint script as the entrypoint
ENTRYPOINT ["/entrypoint.sh"]