Skip to content

Commit

Permalink
dockerignore: exclude kola_temp directory
Browse files Browse the repository at this point in the history
I ran into a gnarly error building the image locally when I had a
`mantle/_kola_temp` directory present.  The tail of the message:

`error generating tar header for /mantle/_kola_temp/agent.1924868 (): archive/tar: sockets not supported`

Using dockerignore to exclude the directory prevents this error from
being encountered.
  • Loading branch information
miabbott authored and openshift-merge-robot committed Dec 10, 2020
1 parent 1adbb0b commit dff79ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# kola_temp can include socket files that the build process does not like
/mantle/_kola_temp

0 comments on commit dff79ef

Please sign in to comment.