diff --git a/Dockerfile.dev b/Dockerfile.dev index 3ebcbb21..c0c3e74a 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,10 +1,9 @@ FROM datajoint/djlab:py3.8-debian -USER root -RUN apt-get update -y -RUN apt-get install git -y +USER anaconda:anaconda -USER anaconda +COPY ./workflow-array-ephys/apt_requirements.txt /tmp/ +RUN /entrypoint.sh echo "Installed dependencies." RUN mkdir /main/element-lab \ /main/element-animal \ diff --git a/Dockerfile.test b/Dockerfile.test index e336ffe7..a3dd2168 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -1,10 +1,10 @@ FROM datajoint/djlab:py3.8-debian -USER root -RUN apt-get update -y -RUN apt-get install git -y +USER anaconda:anaconda + +COPY ./workflow-array-ephys/apt_requirements.txt /tmp/ +RUN /entrypoint.sh echo "Installed dependencies." -USER anaconda WORKDIR /main/workflow-array-ephys # Option 1 - Install DataJoint's remote fork of the workflow and elements diff --git a/apt_requirements.txt b/apt_requirements.txt index 3daada47..c55e67b1 100644 --- a/apt_requirements.txt +++ b/apt_requirements.txt @@ -1 +1,2 @@ -locales-all \ No newline at end of file +locales-all +git \ No newline at end of file