Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dockerfiles [2019/12/30 12:48] – [COPY] rpjdaydockerfiles [2020/01/03 11:58] (current) – [Q] rpjday
Line 18: Line 18:
 ===== Q ===== ===== Q =====
  
 +  * Applicability of Containerfile? Also ".in" suffix for podman?
   * COPY versus ADD?   * COPY versus ADD?
   * Does every new FROM directive start a new "build stage"?   * Does every new FROM directive start a new "build stage"?
Line 23: Line 24:
   * Can a context be a local tarball? Others?   * Can a context be a local tarball? Others?
   * How to use ''%%--%%cache-from''?   * How to use ''%%--%%cache-from''?
 +  * relevance of ''.dockerignore'' with ''podman''/''buildah''?
 +  * Can we display context?
  
 ===== Usage ===== ===== Usage =====
Line 51: Line 54:
   * syntax (BuildKit only)   * syntax (BuildKit only)
  
-==== .dockerignore ====+==== .dockerignore (in root dir of context) ====
  
-You can safely exclude ''Dockerfile'' and ''.dockerignore''; they're sent, anyway.+  * You can safely exclude ''Dockerfile'' and ''.dockerignore''; they're sent, anyway. 
 +  * Uses Go's filepath.Match rules 
 +  * Also ''**/*.go'', and exceptions using ''!'' 
 +  * last match takes precedence
  
 ===== Dockerfile directives ===== ===== Dockerfile directives =====
  • dockerfiles.1577710104.txt.gz
  • Last modified: 2019/12/30 12:48
  • by rpjday