Skip to content

Fix stable Docker image

What does this MR do and why?

Fixes a regression introduced with !4378 (merged).

How to set up and validate locally

export GITLAB_VERSION=16.6
docker buildx build --build-arg NANOC_ENV=production --build-arg VER=$GITLAB_VERSION --build-arg SEARCH_BACKEND="google" --tag docs:16.6 --file dockerfiles/single.Dockerfile . --load
version=$(docker run --rm docs:16.6 ls -1 /usr/share/nginx/html/ | grep -v html)
echo $version
if [ "$version" = "$GITLAB_VER" ]; then echo "OK"; fi

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading