Dockerfile.doxygen

Sat, 20 Jul 2019 13:09:31 +0200

author
Fabrice Bellet <fabrice@bellet.info>
date
Sat, 20 Jul 2019 13:09:31 +0200
branch
release-2.x.y
changeset 39731
ea0961a2cf96
parent 39602
a3f2f9f7bc4e
permissions
-rw-r--r--

Fixes from pull request #516 review

39602
a3f2f9f7bc4e AS is a keyword in a FROM line in a Dockerfile
Gary Kramlich <grim@reaperworld.com>
parents: 39600
diff changeset
1 FROM pidgin/release-builder:release-2.x.y AS build
39600
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
2
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
3 COPY . /pidgin
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5 RUN set -ex && \
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6 cd /pidgin && \
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
7 ./autogen.sh --enable-debug && \
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
8 make -s -j$(nproc) docs
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
9
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
10 FROM rwgrim/goserve
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
11
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
12 EXPOSE 3000
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
13
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
14 COPY --from=build /pidgin/doc/html html
2cc678f14ffc Add a docker file to build a container with the docs
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
15

mercurial