blob: e2df882efd8a2071fe9c6672bc0dd62d35f34abb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#
# Copy this Dockerfile to the root of each branch you want to create an archive
#
# Set to the version for this archive (must match the branch name)
ARG VER=X.Y
# Replace the versions to march the stable branches of the upstream projects
ARG BRANCH_EE=X-Y-stable-ee
ARG BRANCH_CE=X-Y-stable
ARG BRANCH_OMNIBUS=X-Y-stable
ARG BRANCH_RUNNER=X-Y-stable
# This image comes from the Dockerfile.builder.onbuild file
# https://gitlab.com/gitlab-com/gitlab-docs/blob/master/dockerfiles/Dockerfile.builder.onbuild
# Build the website
FROM registry.gitlab.com/gitlab-com/gitlab-docs:builder-onbuild AS builder
# This image comes from the Dockerfile.nginx.onbuild file
# https://gitlab.com/gitlab-com/gitlab-docs/blob/master/dockerfiles/Dockerfile.nginx.onbuild
# Copy the generated HTML files to a smaller image
FROM registry.gitlab.com/gitlab-com/gitlab-docs:nginx-onbuild
|