-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
41 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
__pycache__ | ||
build/ | ||
dist/ | ||
*.bin | ||
*.bin | ||
dist-for-docker/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,14 @@ | ||
FROM ubuntu:jammy | ||
|
||
RUN echo "chooses:\n" > fish_install.yaml \ | ||
&& echo "- {choose: 5, desc: '一键安装:ROS(支持ROS和ROS2,树莓派Jetson)'}\n" >> fish_install.yaml \ | ||
&& echo "- {choose: 2, desc: 更换源继续安装}\n" >> fish_install.yaml \ | ||
&& echo "- {choose: 1, desc: 清理三方源}\n" >> fish_install.yaml \ | ||
&& apt update && apt install wget python3 python3-distro python3-yaml -y \ | ||
&& wget http://fishros.com/install -O fishros && /bin/bash fishros \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ | ||
&& apt-get clean && apt autoclean \ | ||
&& rm -rf fish_install.yaml | ||
|
||
# RUN DEBIAN_FRONTEND=noninteractive apt install -y tzdata | ||
|
||
|
||
RUN apt-get update && apt-get install -y \ | ||
wget \ | ||
fonts-wqy-zenhei \ | ||
libgl1 \ | ||
libegl1 \ | ||
&& apt-get clean && apt-get autoclean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
COPY "dist/f1.alpha_linux_x64" /fishbot | ||
RUN chmod +x /fishbot | ||
ENTRYPOINT ["/fishbot"] | ||
COPY "dist-for-docker/fishbot_tool_linux_amd64" /fishbot_tool | ||
RUN chmod +x /fishbot_tool | ||
ENTRYPOINT ["/fishbot_tool"] | ||
|
||
# docker run -it --rm --privileged -v /dev:/dev -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY fishbot-tool |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters