Skip to content

Unable to Compile #423

@deenaJustin

Description

@deenaJustin

i cloned the code and then tried to execute the script but it failed at step 13/16 .

root@/ibm-messaging# git clone https://github.com/ibm-messaging/mq-metric-samples.git
Cloning into 'mq-metric-samples'...
remote: Enumerating objects: 14940, done.
remote: Counting objects: 100% (1667/1667), done.
remote: Compressing objects: 100% (552/552), done.
remote: Total 14940 (delta 1511), reused 1116 (delta 1115), pack-reused 13273 (from 3)
Receiving objects: 100% (14940/14940), 13.05 MiB | 13.33 MiB/s, done.
Resolving deltas: 100% (10035/10035), done.

root@/ibm-messaging/mq-metric-samples/scripts# ./buildRuntime.sh mq_prometheus
Building container mq-metric-samples-gobuild:5.6.4
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/

Sending build context to Docker daemon 41.23MB
Step 1/25 : ARG BASE_IMAGE=registry.access.redhat.com/ubi8/go-toolset:1.21
Step 2/25 : FROM $BASE_IMAGE
1.21: Pulling from ubi8/go-toolset
148a3ed2f70e: Pull complete
bcf796edf794: Pull complete
d6ec66a7b067: Pull complete
fbde34733011: Pull complete

Step 12/16 : RUN echo "Building container for $MONITOR"
---> Using cache
---> 5c3b576feb6e
Step 13/16 : COPY $MONITOR /opt/bin/$MONITOR
COPY failed: file not found in build context or excluded by .dockerignore: stat mq_prometheus: file does not exist

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