diff options
Diffstat (limited to 'dockerfiles/archives.Dockerfile')
-rw-r--r-- | dockerfiles/archives.Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dockerfiles/archives.Dockerfile b/dockerfiles/archives.Dockerfile index baaa6a11..7d04a331 100644 --- a/dockerfiles/archives.Dockerfile +++ b/dockerfiles/archives.Dockerfile @@ -2,6 +2,9 @@ FROM nginx:stable-alpine ENV TARGET=/usr/share/nginx/html +## Remove default NGINX files +RUN rm -rf ${TARGET}/*.html + ## Get all the archive static HTML and put it into place ## Copy all the GitLab versions, except from the last one, ## which is still supported and online in docs.gitlab.com. @@ -41,8 +44,6 @@ COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:15.3 ${TARGET} ${TARGET} COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:15.4 ${TARGET} ${TARGET} # Don't add any more versions here. See the end of this file. -RUN rm -rf ${TARGET}/*.html - ## When we start pushing the lunrjs images under the archives repository, ## the Registry repository will change to 'archives:X.Y'. ## The first supported version is 15.5. @@ -50,3 +51,4 @@ RUN rm -rf ${TARGET}/*.html COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs/archives:15.5 ${TARGET} ${TARGET} COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs/archives:15.6 ${TARGET} ${TARGET} COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs/archives:15.7 ${TARGET} ${TARGET} +COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs/archives:15.8 ${TARGET} ${TARGET} |