summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHordur Freyr Yngvason <hfyngvason@gitlab.com>2019-08-27 10:03:50 +0000
committerHordur Freyr Yngvason <hfyngvason@gitlab.com>2019-08-27 10:03:50 +0000
commit4596c817e782ea324aa8b465306a22434e8cf37e (patch)
tree5c7204c0948e95ebda6a396337c45dd0482cde7e
parent25901e1a55a7c7182a52d0bec1b3673e367bb1b5 (diff)
downloadgitlab-ce-4596c817e782ea324aa8b465306a22434e8cf37e.tar.gz
Apply suggestion to doc/topics/autodevops/index.md
-rw-r--r--doc/topics/autodevops/index.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/topics/autodevops/index.md b/doc/topics/autodevops/index.md
index 07fd4ff5a22..122ba047298 100644
--- a/doc/topics/autodevops/index.md
+++ b/doc/topics/autodevops/index.md
@@ -700,12 +700,10 @@ Dockerfile is based on [Alpine](https://hub.docker.com/_/alpine/).
Arguments can be passed to the `docker build` command using the
`AUTO_DEVOPS_BUILD_IMAGE_EXTRA_ARGS` project variable.
-For example, with `AUTO_DEVOPS_BUILD_IMAGE_EXTRA_ARGS` set to
-
-```bash
---build-arg=RUBY_VERSION=alpine
-```
+For example, to build a Docker image based on based on the `ruby:alpine`
+instead of the default `ruby:latest`:
+1. Set `AUTO_DEVOPS_BUILD_IMAGE_EXTRA_ARGS` to `--build-arg=RUBY_VERSION=alpine`.
and the custom `Dockerfile`
```docker