Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/puritys/dockerfile-include

Add new instruction "include" for Dockerfile
https://github.com/puritys/dockerfile-include

dockerfile include

Last synced: 1 day ago
JSON representation

Add new instruction "include" for Dockerfile

Awesome Lists containing this project

README

        

# dockerfile-include

* npm install -g dockerfile-include

Create a docker file with include instruction

```
FROM centos7

INCLUDE centos.doc
```

Execute docker build command
```
dockerfile-include -i centos.doc -o Dockerfile
docker build .
```

## Functionalities

* Add a new instruction "include" to include other Dockerfile.
* chang the file path of instruction COPY.