github.com/darkowlzz/helm@v2.5.1-0.20171213183701-6707fe0468d4+incompatible/rootfs/README.md (about)

     1  # RootFS
     2  
     3  This directory stores all files that should be copied to the rootfs of a
     4  Docker container. The files should be stored according to the correct
     5  directory structure of the destination container. For example:
     6  
     7  ```
     8  rootfs/bin -> /bin
     9  rootfs/usr/local/share -> /usr/local/share
    10  ```
    11  
    12  ## Dockerfile
    13  
    14  A Dockerfile in the rootfs is used to build the image. Where possible,
    15  compilation should not be done in this Dockerfile, since we are
    16  interested in deploying the smallest possible images.
    17  
    18  Example:
    19  
    20  ```Dockerfile
    21  FROM alpine:3.2
    22  
    23  COPY . /
    24  
    25  ENTRYPOINT ["/usr/local/bin/boot"]
    26  ```
    27