blob: a30cb4451ba88e6ba81b47da01811eaf8f075b56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#
# 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
ARG BRANCH_CHARTS=W-Z-stable
# This image comes from the Dockerfile.builder.onbuild file
# https://gitlab.com/gitlab-org/gitlab-docs/blob/master/dockerfiles/Dockerfile.builder.onbuild
# Build the website
FROM registry.gitlab.com/gitlab-org/gitlab-docs:builder-onbuild AS builder
# This image comes from the Dockerfile.nginx.onbuild file
# https://gitlab.com/gitlab-org/gitlab-docs/blob/master/dockerfiles/Dockerfile.nginx.onbuild
# Copy the generated HTML files to a smaller image
FROM registry.gitlab.com/gitlab-org/gitlab-docs:nginx-onbuild
|