mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
584 B
28 lines
584 B
# RootFS
|
|
|
|
This directory stores all files that should be copied to the rootfs of a
|
|
Docker container. The files should be stored according to the correct
|
|
directory structure of the destination container. For example:
|
|
|
|
```
|
|
rootfs/bin -> /bin
|
|
rootfs/usr/local/share -> /usr/local/share
|
|
```
|
|
|
|
## Dockerfile
|
|
|
|
A Dockerfile in the rootfs is used to build the image. Where possible,
|
|
compilation should not be done in this Dockerfile, since we are
|
|
interested in deploying the smallest possible images.
|
|
|
|
Example:
|
|
|
|
```Dockerfile
|
|
FROM alpine:3.2
|
|
|
|
COPY . /
|
|
|
|
ENTRYPOINT ["/usr/local/bin/boot"]
|
|
```
|
|
|