Use the -p option which makes parents as needed.
Mark Gaiser committed
Jun 11, 2020 at 17:11 UTC
643699e2e81123b4287b558ad53a0bea02dea2fd
1 file changed
+1
-1
Dockerfile
+1
-1
@@ -23,7 +23,7 @@ ARG IPFS_PLUGINS
23
# Build the thing.
24
# Also: fix getting HEAD commit hash via git rev-parse.
25
RUN cd $SRC_DIR \
26
- && mkdir .git/objects \
26
+ && mkdir -p .git/objects \
27
&& make build GOTAGS=openssl IPFS_PLUGINS=$IPFS_PLUGINS
28
29
# Get su-exec, a very minimal tool for dropping privileges,