-
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
2 changed files
with
6 additions
and
20 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,30 +1,15 @@ | ||
FROM ubuntu:22.04 | ||
|
||
RUN apt update && apt install python3 python3-pip -y | ||
RUN apt update && apt install python3 python3-pip libglib2.0-dev -y | ||
|
||
RUN pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \ | ||
&& pip3 install esptool pyserial pyqt6 requests | ||
# RUN apt install cmake libboost-dev libboost-dev libgtest-dev libboost-thread-dev libboost-python-dev libpython3-dev -y | ||
&& pip3 install esptool pyserial pyqt6 requests pyinstaller | ||
|
||
# WORKDIR /fishbot | ||
|
||
# RUN apt install language-pack-zh-hans fonts-noto-cjk -y \ | ||
# && locale-gen zh_CN.UTF-8 | ||
RUN pip3 install pyinstaller libglib2.0-dev | ||
# RUN apt-get install ffmpeg libsm6 libxext6 -y | ||
# RUN apt install libegl1 -y | ||
# RUN apt install libxcb-xinerama0 libxcb-xinerama0-dev -y | ||
# RUN apt install libxcb-util1 -y | ||
# RUN apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev -y | ||
# RUN apt install wget -y | ||
ENV LANG zh_CN.UTF-8 | ||
# COPY fishbot_tool /fishbot_tool/fishbot_tool | ||
# ENV PYTHONPATH /fishbot_tool | ||
# WORKDIR /fishbot_tool/fishbot_tool | ||
|
||
ENTRYPOINT [] | ||
|
||
# docker build -t fishros2/fishbot-tool . | ||
# docker build -t fishros2/fishbot_tool:build_ubuntu22 -f Dockerfile.build . | ||
# docker push fishros2/fishbot_tool:build_ubuntu22 | ||
# docker run -it --rm --privileged -v /dev:/dev -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY fishros2/fishbot-tool python main.py | ||
|
||
|