You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
391 B
Markdown

3 years ago
# Examples
In this folder you can find some example Dockerfile syntax extensions.
## Noop
This is the most basic example. It just adds a new instruction `NOOP` which does nothing (i.e. it is ignored). With this extension, the following Dockerfile would success fully compile:
```dockerfile
# syntax = edrevo/noop-dockerfile
NOOP
FROM alpine
NOOP
WORKDIR /
RUN echo "Hello World"
```