Daily Weekly Monthly

Daily Shaarli

All links of one day in a single page.

March 2, 2017

Dockerfile reference - Docker

Each may contain wildcards and matching will be done using Go’s filepath.Match rules. For example:

ADD hom* /mydir/        # adds all files starting with "hom"
ADD hom?.txt /mydir/    # ? is replaced with any single character, e.g., "home.txt"

The is an absolute path, or a path relative to WORKDIR, into which the source will be copied inside the destination container.

ADD test relativeDir/          # adds "test" to `WORKDIR`/relativeDir/
ADD test /absoluteDir/         # adds "test" to /absoluteDir/

If is a local tar archive in a recognized compression format (identity, gzip, bzip2 or xz) then it is unpacked as a directory. Resources from remote URLs are not decompressed. When a directory is copied or unpacked, it has the same behavior as tar -x, the result is the union of:

  • whatever existed at the destination path and
  • The contents of the source tree, with conflicts resolved in favor of “2.” on a file-by-file basis.
Le point sur les scripts lua de Domoticz -

un rappel sur LUA et son utilisation dans Domoticz