Ai
1 Star 0 Fork 0

zhangheyang/lv_sim_eclipse_sdl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 552 Bytes
一键复制 编辑 原始数据 按行查看 历史
Brady Law 提交于 2020-12-02 08:32 +08:00 . COPY is preferred docker syntax
# To build:
# docker build -t lvgl .
#
# To see how to do GUI forwarding in macOS:
# https://cntnr.io/running-guis-with-docker-on-mac-os-x-a14df6a76efc
#
# To do GUI forwarding on linux, the following may work (easiest method, but unsafe)
# xhost + && docker run --network=host --env DISPLAY=$DISPLAY lvgl
FROM ubuntu:18.04
RUN apt update && apt install -y \
build-essential \
cmake \
gcc \
git \
libsdl2-dev \
mesa-utils \
libgl1-mesa-glx \
x11-apps
ENV DISPLAY=:0
COPY . .
RUN make -j3
CMD ["./demo"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangheyang/lv_sim_eclipse_sdl.git
git@gitee.com:zhangheyang/lv_sim_eclipse_sdl.git
zhangheyang
lv_sim_eclipse_sdl
lv_sim_eclipse_sdl
master

搜索帮助