docker - Dockerignore: Ignore everything except a file and the Dockerfile -
The main intention was to fire a fat jar application and put it in Alicinsteinstock. With reference to the problem, it is a bit stupid to add so much reference to the dockers, if I need, then there is actually a single jar file.
I'm playing with the docherigener file, but I'm lost. I tried to use gitignore rejection, but it does not work.
*! Dockerfile * /! Goals / Goals / *! aim / *. Jar Still this thing is with ragex, but it looks complex Regex is not supported
^ ((?? dockfile).) * $ I also tried to search in the StakeVerf Flow, and I have found both of these:
-
< / Li> -
This question may be similar to another, but I think there is a slight difference from here, I want to include the file.
Any help would be appreciated.
to:
Beyond the file path of Go. Match rule, Docker also supports a special wildcard string **, which matches any directory (including zero) for example, ** / *. Go will exclude all files that are ending with .OC, which are found in all the directories, including the root of the build reference.
* Dockerfile will ignore everything in the same directory.
As expected, an exclamation can be used to refer to any file that you want to send to the Docker Daemon.
Comments
Post a Comment