mirror of https://github.com/docker/docs.git
lint: tidy up consistent header styles
This commit is contained in:
parent
fd9fe19061
commit
749d27b40d
|
@ -1,3 +1,4 @@
|
||||||
# https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
|
# https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
|
||||||
|
|
||||||
|
rule 'header-style'
|
||||||
rule 'ol-prefix', :style => :ordered
|
rule 'ol-prefix', :style => :ordered
|
||||||
|
|
|
@ -427,9 +427,7 @@ content:
|
||||||
```dockerfile
|
```dockerfile
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
##
|
|
||||||
## Build
|
## Build
|
||||||
##
|
|
||||||
FROM golang:1.16-buster AS build
|
FROM golang:1.16-buster AS build
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -442,9 +440,7 @@ COPY *.go ./
|
||||||
|
|
||||||
RUN go build -o /docker-gs-ping
|
RUN go build -o /docker-gs-ping
|
||||||
|
|
||||||
##
|
|
||||||
## Deploy
|
## Deploy
|
||||||
##
|
|
||||||
FROM gcr.io/distroless/base-debian10
|
FROM gcr.io/distroless/base-debian10
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
Loading…
Reference in New Issue