Error when starting server

14 views
Skip to first unread message

Derrick Hunter

unread,
Feb 10, 2021, 4:07:09 PM2/10/21
to ope...@googlegroups.com

Good Day

 

I am running the command “docker-compose up”, however I get the following error. Have I missed something in my build/installation. Please assist

 

Building markup

Step 1/20 : ARG BUILD_REGISTRY

Step 2/20 : ARG BUILD_TAG=latest

Step 3/20 : FROM ${BUILD_REGISTRY}openmpf_build:${BUILD_TAG} as openmpf_build

---> f1d341679c53

 

Step 4/20 : FROM centos:7

---> 8652b9f0cb4c

Step 5/20 : SHELL ["/bin/bash", "-o", "errexit", "-o", "pipefail", "-c"]

---> Using cache

---> 9d16d4c2d3d1

Step 6/20 : ENV LANG en_US.UTF-8

---> Using cache

---> d38adb529eb9

Step 7/20 : RUN yum update --assumeyes;     yum-config-manager --setopt=skip_missing_names_on_install=False --save;     yum install --assumeyes https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm;     yum install --assumeyes java-11-openjdk ffmpeg libheif;     yum clean all;     rm -rf /var/cache/yum/*;

---> Using cache

---> fd0580966f62

Step 8/20 : RUN --mount=type=bind,from=openmpf_build,source=/build-artifacts/install/lib,target=/tmp/mpf-libs     cd /tmp/mpf-libs;     cp --preserve=links --no-dereference libopencv* libopenblas* libgfortran* libquadmath*         /usr/lib64;

---> Running in 8566575c2706

/bin/bash: line 0: cd: /tmp/mpf-libs: No such file or directory

ERROR: Service 'markup' failed to build : The command '/bin/bash -o errexit -o pipefail -c cd /tmp/mpf-libs;     cp --preserve=links --no-dereference libopencv* libopenblas* libgfortran* libquadmath*         /usr/lib64;' returned a non-zero code: 1

 

Derrick Hunter
OSL Developer

   011-884-5041       
    derr...@ornicogroup.co.za
   www.ornico.co.za
   90 Albertina Sisulu Road, Johannesburg CBD, 2001

           

 

brose...@mitre.org

unread,
Feb 11, 2021, 8:24:16 AM2/11/21
to OpenMPF
Derrick,
It looks like you are trying to build the images yourself. It may be easier for you to pull the pre-builit images from DockerHub. There is an example docker-compose.yml in the README on DockerHub ( https://hub.docker.com/r/openmpf/openmpf_workflow_manager ). If you use that docker-compose.yml file, it should pull the images from DockerHub instead of trying to build locally.

If you would like to build your own images, please try running "COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up". If that works for you, you can set those environment variables in your .bashrc or equivalent so that in the future you can just run "docker-compose up". Those environment variables are necessary because we are using Docker buildkit ( https://docs.docker.com/develop/develop-images/build_enhancements/ ) features in our Dockerfiles.

-Brian

Jeffrey Robble

unread,
Feb 11, 2021, 3:12:25 PM2/11/21
to OpenMPF
Hi Derrick,

Just to add on to what Brian said above, we have one developer who was able to complete the build using Docker 20.10.3 and docker-compose 1.28.2. She needed to use the two environment variables Brian mentioned.

- Jeff

Reply all
Reply to author
Forward
0 new messages