代码拉取完成,页面将自动刷新
# Dockerfile for building imguiwrap in a Linux environment. See also
# docker-build.sh
FROM ubuntu:latest AS base-os
# If you have a local cache or proxy for apt packages; see apt-cacher-ng.
# e.g: APT_CACHE=http://apt-cache.local:3142/
ARG APT_CACHE
RUN \
if [ -z "${APT_CACHE}"; then echo "Acquire::http::Proxy \"${APT_CACHE}\";" >/etc/apt/apt.conf.d/02proxy; fi; \
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections ; \
mkdir /src
RUN apt update && \
apt install -qy --upgrade apt-transport-https apt-utils && \
apt upgrade -qy && \
apt install -qy --upgrade \
build-essential \
cmake ninja-build cmake-doc \
clang-11 clang-tidy-11 clang-format-11 && \
apt autoremove -qy && apt clean auto && rm -rf /var/lib/apt/lists/*
FROM base-os AS imgui-packages
RUN apt update && \
apt install -qy \
libx11-dev \
libsdl2-dev \
libglfw3-dev && \
apt autoremove -qy && apt clean auto && rm -rf /var/lib/apt/lists/*
FROM imgui-packages
# Mount this folder as /src, e.g.
# docker --rm -it -v ${pwd}:/src kfsone/imguibuild
VOLUME /src
ENTRYPOINT ["/src/docker-build.sh"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。