From 2da12bc59a407cced1cb901c4b8e1e654fcfc58e Mon Sep 17 00:00:00 2001 From: Kishan Sagathiya Date: Thu, 13 Dec 2018 16:03:22 +0530 Subject: [PATCH] Switch to root user to create data directory License: MIT Signed-off-by: Kishan Mohanbhai Sagathiya --- Dockerfile-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile-test b/Dockerfile-test index a85bced0..60a29307 100644 --- a/Dockerfile-test +++ b/Dockerfile-test @@ -45,7 +45,7 @@ COPY --from=builder /tmp/jq-linux64 /usr/local/bin/jq COPY --from=builder /bin/bash /bin/bash COPY --from=builder /lib/x86_64-linux-gnu/libtinfo.so.5 /lib64/libtinfo.so.5 - +USER root RUN mkdir -p $IPFS_CLUSTER_PATH && \ chown 1000:100 $IPFS_CLUSTER_PATH