Browse Source

docker: attempt to workaround autobuild COPY instruction bug
by switching from dockerignore whitelist to blacklist

Step 4/14 : USER build
---> Running in b82146075b91
Removing intermediate container b82146075b91
---> 2cd4686121af
Step 5/14 : COPY --chown=build:nogroup . /rgpgfs
---> 9054d7ae92eb
Step 6/14 : WORKDIR /rgpgfs
Removing intermediate container 5880ed6aa6a3
---> 8fc73b67bb54
Step 7/14 : RUN ls -lah
---> Running in 30513d239145
total 8
drwxr-xr-x 2 build nogroup 4.0K Mar 30 22:02 .
drwxr-xr-x 1 root root 4.0K Mar 30 22:02 ..
Removing intermediate container 30513d239145
---> edc5e4d0dbac
Step 8/14 : RUN make
---> Running in af8e9a8a1658
make: *** No targets specified and no makefile found. Stop.
Removing intermediate container af8e9a8a1658
The command '/bin/sh -c make' returned a non-zero code: 2

Fabian Peter Hammerle 5 years ago
parent
commit
0dddf80915
1 changed files with 4 additions and 3 deletions
  1. 4 3
      .dockerignore

+ 4 - 3
.dockerignore

@@ -1,3 +1,4 @@
-*
-!/Makefile
-!/src/
+/.git/
+/.gitignore
+/Dockerfile
+/README.md