AiCure / open_dbm

Tool for measurement of digital biomarkers from video or audio of an individual’s behavior.

Home Page:https://aicure.github.io/open_dbm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to Build OpenDBM Docker Images

tsharma3427 opened this issue · comments

Bug Type

Build/Install

Source

source (default)

OpenDBM Version

2.0

Custom Code

Yes

OS Platform and Distribution

macOS Monterey v 12.4

Mobile device / Browser (for Doc bugs)

No response

Python version

3.9.13

GCC/Compiler version

No response

Docker version

20.10.22

GPU model and memory

No response

🐞 Describe the bug. Steps/Code to Reproduce

This is from the Dockerfile when attempting to run "docker build --tag dbm ."

RUN ln -sfn /usr/bin/pip3 /usr/bin/pip

COPY . /app

#cloning openface
WORKDIR /app/opendbm/pkg
RUN git clone https://github.com/AiCure/open_dbm.git -b openface

RUN echo "Installing OpenFace..."
WORKDIR /app/opendbm/pkg/open_dbm/OpenFace
RUN bash ./download_models.sh
RUN dpkg --configure -a
RUN su -c ./install.sh
RUN echo "Done OpenFace!"

Expected Results

It would successfully build "dbm" image in the docker.

Actual Results and relevant log outputs

=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.67kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:18.04 0.7s
=> [auth] library/ubuntu:pull token for registry-1.docker.io 0.0s
=> [stage-1 1/22] FROM docker.io/library/ubuntu:18.04@sha256:c1d0baf242 0.0s
=> [internal] load build context 20.3s
=> => transferring context: 1.96GB 20.3s
=> CACHED [stage-1 2/22] RUN apt-get update && apt-get install -y pytho 0.0s
=> CACHED [stage-1 3/22] RUN ln -sfn /usr/bin/pip3 /usr/bin/pip 0.0s
=> [stage-1 4/22] COPY . /app 4.5s
=> [stage-1 5/22] WORKDIR /app/opendbm/pkg 0.0s
=> ERROR [stage-1 6/22] RUN git clone https://github.com/AiCure/open_db 0.4s


[stage-1 6/22] RUN git clone https://github.com/AiCure/open_dbm.git -b openface:
#11 0.200 Cloning into 'open_dbm'...
#11 0.430 fatal: Remote branch openface not found in upstream origin


executor failed running [/bin/sh -c git clone https://github.com/AiCure/open_dbm.git -b openface]: exit code: 128

@tsharma3427 This has happened as there is no branch by the name "openface" you are asking the Dockerfile to clone. Give a valid branch name that exists in this repository

@haposan06 I think this issue can be closed now.

Yup I fixed this issue a year ago. The developers should update the code as well so people don't have issues with it in the future - if you all make updates to the code, the onus shouldn't have to be on the user to fix said code.