ocornut-imgui
SUCCESS
5m 07s
History Source
SummaryIterations1Transcript3Dockerfile
Dockerfile29 lines · 815 chars
FROM ubuntu:22.04

# Non-interactive for automated builds
ENV DEBIAN_FRONTEND=noninteractive

# Install build tools and dependencies used by the ImGui repository (Linux)
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
      build-essential cmake make \
      gcc g++ \
      git ca-certificates \
      libglfw3-dev libsdl2-dev libfreetype6-dev libvulkan-dev \
      gcc-multilib g++-multilib \
    && rm -rf /var/lib/apt/lists/*

# Working directory for the repository
WORKDIR /imgui

# Copy the repository source into the image
COPY . /imgui

# Build the Linux example_null (extra warnings) to verify the build works
RUN mkdir -p build && \
    cd examples/example_null && \
    WITH_EXTRA_WARNINGS=1 make

# Expose a shell by default so users can run binaries manually
CMD ["/bin/bash"]