You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
537 B

  1. FROM registry.gitlab.com/kicad/kicad-ci/source_containers/master/fedora:37 as build-doxygen-env
  2. USER root
  3. WORKDIR /src
  4. COPY . ./
  5. RUN ls
  6. RUN mkdir build && cd build
  7. WORKDIR /src/build
  8. RUN cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  9. -DKICAD_USE_OCC=ON \
  10. -DKICAD_SCRIPTING_WXPYTHON=ON
  11. RUN make doxygen-docs
  12. RUN make doxygen-python
  13. FROM scratch as output-image
  14. COPY --from=build-doxygen-env /src/doxygen/out/html /doxygen-docs_html
  15. COPY --from=build-doxygen-env /src/build/pcbnew/doxygen-python/html /doxygen-python_html