Skip to content

Docker build fails #91

@vidboda

Description

@vidboda

Hi,

was trying to update my VV docker - I deleted all the containers according to DOCKER.md to start from scratch.
I cloned the current vv repo, then added my NCBI key and then launched the build affter having pulled
docker-compose build --no-cache

and I got the following error:

root@restvv:~/rest_variantValidator# docker-compose pull
Pulling vdb     ... done
Pulling vvta    ... done
Pulling seqrepo ... done
Pulling restvv  ... done
root@restvv:~/rest_variantValidator# docker-compose build --no-cache
Building vdb
Sending build context to Docker daemon  2.815MB
Step 1/7 : FROM mysql:5.7
5.7: Pulling from library/mysql
e048d0a38742: Pull complete 
c7847c8a41cb: Pull complete 
351a550f260d: Pull complete 
8ce196d9d34f: Pull complete 
17febb6f2030: Pull complete 
d4e426841fb4: Pull complete 
fda41038b9f8: Pull complete 
f47aac56b41b: Pull complete 
a4a90c369737: Pull complete 
97091252395b: Pull complete 
84fac29d61e9: Pull complete 
Digest: sha256:8cf035b14977b26f4a47d98e85949a7dd35e641f88fc24aa4b466b36beecf9d6
Status: Downloaded newer image for mysql:5.7
 ---> be16cf2d832a
Step 2/7 : ENV MYSQL_RANDOM_ROOT_PASSWORD yes
 ---> Running in 3c1a4ec16089
Removing intermediate container 3c1a4ec16089
 ---> 144776638a76
Step 3/7 : ENV MYSQL_DATABASE validator
 ---> Running in 5a9c9ad716f3
Removing intermediate container 5a9c9ad716f3
 ---> 27cfe835cf01
Step 4/7 : ENV MYSQL_USER vvadmin
 ---> Running in 9641e3b4c58b
Removing intermediate container 9641e3b4c58b
 ---> 1d5458209762
Step 5/7 : ENV MYSQL_PASSWORD var1ant
 ---> Running in 171c9455c99c
Removing intermediate container 171c9455c99c
 ---> a73e612eb1d0
Step 6/7 : RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
 ---> Running in 9a7cb1a7ddea
/bin/sh: apt-get: command not found
The command '/bin/sh -c apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 127
ERROR: Service 'vdb' failed to build : Build failed

Does that ring a bell to you?
thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions