Changeset View
Changeset View
Standalone View
Standalone View
Dockerfile-doxygen
FROM ubuntu:16.04 | FROM ubuntu:16.04 | ||||
RUN apt-get update && apt-get install -y doxygen graphviz | RUN apt-get update && apt-get install -y doxygen graphviz build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils | ||||
RUN apt-get install -y libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev | |||||
Fabien: Why do you need 2 calls to `apt-get install` ? | |||||
COPY doc /abc/doc | COPY . / | ||||
COPY src /abc/src | |||||
WORKDIR /abc | WORKDIR / | ||||
RUN ./autogen.sh | |||||
RUN ./configure --disable-wallet --without-gui --without-miniupnpc --disable-tests --disable-bench --disable-zmq | |||||
RUN make | |||||
FabienUnsubmitted Not Done Inline ActionsYou should run with the -j option if possible. Fabien: You should run with the `-j` option if possible. | |||||
RUN doxygen doc/Doxyfile | RUN doxygen doc/Doxyfile | ||||
FROM nginx:alpine | FROM nginx:alpine | ||||
COPY --from=0 /abc/doc/doxygen/html /usr/share/nginx/html | COPY --from=0 /doc/doxygen/html /usr/share/nginx/html |
Why do you need 2 calls to apt-get install ?