From 5ebf535b16a8d34d6db4150afcc21ec818ab031e Mon Sep 17 00:00:00 2001 From: Joey Scanga <62576716+joey-scanga@users.noreply.github.com> Date: Mon, 7 Oct 2024 14:50:15 -0500 Subject: [PATCH] Home directory in Docker now fully accessible This changes the permissions of the created home directory at /home/bibsnet to ensure that the container has complete access --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bb5e6c7..aaf434d 100755 --- a/Dockerfile +++ b/Dockerfile @@ -105,7 +105,7 @@ RUN echo "Downloading ANTs ..." && \ rm bibsnet-v3.3.0.tar.gz ants-Linux-centos6_x86_64-v2.3.4.tar.gz # Create a shared $HOME directory -RUN useradd -m -s /bin/bash -G users -u 1000 bibsnet +RUN useradd -m -s /bin/bash -G users -u 1000 bibsnet && chmod -R 777 /home/bibsnet WORKDIR /home/bibsnet ENV HOME="/home/bibsnet" \ LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"