Merge pull request #10472 from thaJeztah/reference_code_hints

update code-hints in engine reference
This commit is contained in:
Usha Mandya 2020-03-18 09:57:38 +00:00 committed by GitHub
commit d34430b425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -717,7 +717,7 @@ examples: |-
specify an intermediate build stage by name as a final stage for the resulting
image. Commands after the target stage will be skipped.
```Dockerfile
```dockerfile
FROM debian AS build-env
...
@ -785,7 +785,7 @@ examples: |-
The example `Dockerfile` below uses a separate stage to collect the
build-artifacts for exporting:
```Dockerfile
```dockerfile
FROM golang AS build-stage
RUN go get -u github.com/LK4D4/vndr
@ -948,7 +948,7 @@ examples: |-
The following is an example of docker build with `--squash` argument
```Dockerfile
```dockerfile
FROM busybox
RUN echo hello > /hello
RUN echo world >> /hello

View File

@ -179,7 +179,7 @@ examples: |-
Digest can also be used in the `FROM` of a Dockerfile, for example:
```Dockerfile
```dockerfile
FROM ubuntu@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
MAINTAINER some maintainer <maintainer@example.com>
```