Dockerfile.doxygen

Thu, 09 Apr 2020 02:41:27 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 09 Apr 2020 02:41:27 -0500
branch
discord-ssl-crash
changeset 40324
a86b4b3de249
parent 39602
a3f2f9f7bc4e
permissions
-rw-r--r--

closing merged branch

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