-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (26 loc) · 816 Bytes
/
Dockerfile
File metadata and controls
32 lines (26 loc) · 816 Bytes
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
#
# this dockerfile roughly follows the 'Ubuntu install of ROS Melodic' from:
# http://wiki.ros.org/melodic/Installation/Ubuntu
#
# Select base image here (ARM64 or AMD64)
# curobotics/buffbox:aarch64-base # curobotics/buffbox:x86_64-base
FROM curobotics/buffbox:x86_64-base
ENV PROJECT_ROOT=/home/cu-robotics/buff-code
#
# Add your code
#
ADD . /home/cu-robotics/buff-code
#
# Clean APT/Cache
#
RUN apt-get update && \
apt-get autoremove --purge -y && \
apt-get clean -y
#
# Set up the environment
# not sure how to utilize the project_root variable
# hard coding = bad, doesn't really matter tho
RUN echo "source /home/cu-robotics/buff-code/buffpy/buff.bash" >> /root/.bashrc
CMD ["bash"]
ENTRYPOINT ["/home/cu-robotics/buff-code/buffpy/scripts/buff_entrypoint.sh"]
WORKDIR /home/cu-robotics/buff-code