Joyvalley/GWAS_Flow

Docker installation error

Closed this issue · 4 comments

Hi,

When I run the Docker build in powershell it gives me the following errors. It cloned the repository fine, and it'okay with the gwas.py script but the others, and the .yaml don't work for some reason. I'm not sure what I'm doing wrong. If you have any idea what my problem is I would be very grateful.

Thanks.

[+] Building 1.8s (25/26)
 => [internal] load build definition from Dockerfile                                                                                     0.1s
 => => transferring dockerfile: 32B                                                                                                      0.1s
 => [internal] load .dockerignore                                                                                                        0.1s
 => => transferring context: 2B                                                                                                          0.0s
 => [internal] load metadata for docker.io/library/ubuntu:20.04                                                                          1.4s
 => [internal] load build context                                                                                                        0.1s
 => => transferring context: 29B                                                                                                         0.0s
 => CANCELED [ 1/22] FROM docker.io/library/ubuntu:20.04@sha256:9d6a8699fb5c9c39cf08a0871bd6219f0400981c570894cd8cbea30d3424a31f         0.2s
 => => resolve docker.io/library/ubuntu:20.04@sha256:9d6a8699fb5c9c39cf08a0871bd6219f0400981c570894cd8cbea30d3424a31f                    0.0s
 => => sha256:10cbddb6cf8568f56584ccb6c866203e68ab8e621bb87038e254f6f27f955bbe 529B / 529B                                               0.0s
 => => sha256:fb52e22af1b01869e23e75089c368a1130fa538946d0411d47f964f8b1076180 1.46kB / 1.46kB                                           0.0s
 => => sha256:9d6a8699fb5c9c39cf08a0871bd6219f0400981c570894cd8cbea30d3424a31f 1.42kB / 1.42kB                                           0.0s
 => CACHED [ 2/22] RUN apt update                                                                                                        0.0s
 => CACHED [ 3/22] RUN apt install --yes &&     apt install --yes      locales                                                           0.0s
 => CACHED [ 4/22] RUN locale-gen en_US.UTF-8                                                                                            0.0s
 => CACHED [ 5/22] RUN apt install -y emacs git                                                                                          0.0s
 => CACHED [ 6/22] RUN apt install -y wget bzip2 sudo                                                                                    0.0s
 => CACHED [ 7/22] RUN adduser --disabled-password --gecos '' ubuntu                                                                     0.0s
 => CACHED [ 8/22] RUN adduser ubuntu sudo                                                                                               0.0s
 => CACHED [ 9/22] RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers                                                               0.0s
 => CACHED [10/22] WORKDIR /home/ubuntu/                                                                                                 0.0s
 => CACHED [11/22] RUN chmod a+rwx /home/ubuntu/                                                                                         0.0s
 => CACHED [12/22] RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh                                        0.0s
 => CACHED [13/22] RUN bash Miniconda3-latest-Linux-x86_64.sh -b                                                                         0.0s
 => CACHED [14/22] RUN rm Miniconda3-latest-Linux-x86_64.sh                                                                              0.0s
 => CACHED [15/22] RUN conda update conda                                                                                                0.0s
 => ERROR [16/22] ADD gwas_flow_env.yaml .                                                                                               0.0s
 => CACHED [17/22] RUN conda env update -n base --file gwas_flow_env.yaml                                                                0.0s
 => CACHED [18/22] ADD gwas.py .                                                                                                         0.0s
 => ERROR [19/22] ADD herit.py .                                                                                                         0.0s
 => ERROR [20/22] ADD main.py .                                                                                                          0.0s
 => ERROR [21/22] ADD plot.py .                                                                                                          0.0s
------
 > [16/22] ADD gwas_flow_env.yaml .:
------
------
 > [19/22] ADD herit.py .:
------
------
 > [20/22] ADD main.py .:
------
------
 > [21/22] ADD plot.py .:
------
failed to compute cache key: "/plot.py" not found: not found ```

Hi @Fluxless,
I am on it :-)
Best,
JJ

iimog commented

Hey @Joyvalley have a look in the pr from the develop branch. I pushed something before I saw, that you are already working on it 😄

Hi @Fluxless,
everything should work now.
There was actually an error in the Dockerfile.
Kind regards,
JF