mirror of https://github.com/docker/docs.git
parent
9e75cce67e
commit
ff37cf49de
|
@ -123,8 +123,8 @@ a variable in the code.
|
|||
ENTRYPOINT [ "/bin/server" ]
|
||||
```
|
||||
|
||||
Now the version of the server when building the binary, without having to update
|
||||
the source code. To verify this, you can the `server` target and start a
|
||||
Now the version of the server is injected when building the binary, without having to update
|
||||
the source code. To verify this, you can build the `server` target and start a
|
||||
container with `docker run`. The server outputs `v0.0.1` as the version on
|
||||
startup.
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@ title: Code blocks
|
|||
toc_max: 3
|
||||
---
|
||||
|
||||
# Code blocks
|
||||
|
||||
Rouge provides lots of different code block "hints". If you leave off the hint,
|
||||
it tries to guess and sometimes gets it wrong. These are just a few hints that
|
||||
we use often.
|
||||
|
|
Loading…
Reference in New Issue