2022-07-11 14:54:59 +00:00
|
|
|
FROM registry.gitlab.com/kicad/kicad-ci/source_containers/master/ubuntu:22.04 as build-doxygen-env
|
2022-07-10 18:41:45 +00:00
|
|
|
USER root
|
|
|
|
|
|
|
|
WORKDIR /src
|
|
|
|
COPY . ./
|
|
|
|
|
|
|
|
RUN ls
|
|
|
|
RUN mkdir build && cd build
|
|
|
|
|
|
|
|
WORKDIR /src/build
|
|
|
|
|
|
|
|
RUN cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DKICAD_USE_OCC=ON \
|
2022-07-11 14:54:59 +00:00
|
|
|
-DKICAD_SCRIPTING_WXPYTHON=ON \
|
2022-07-10 18:41:45 +00:00
|
|
|
-DKICAD_SPICE=ON
|
|
|
|
RUN make doxygen-docs
|
2022-12-24 04:10:46 +00:00
|
|
|
RUN make doxygen-python
|
2022-07-10 18:41:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
FROM scratch as output-image
|
|
|
|
|
2022-12-24 04:10:46 +00:00
|
|
|
COPY --from=build-doxygen-env /src/doxygen/out/html /doxygen-docs_html
|
|
|
|
COPY --from=build-doxygen-env /src/build/pcbnew/doxygen-python/html /doxygen-python_html
|