Skip to content

Update game-of-life dependencies #89

@liustanley

Description

@liustanley

Describe the bug
Error when starting game of life otel:

docker compose -f docker-compose-otel.yaml up
...
 => ERROR [game-of-life-server 8/9] RUN go build -o /server                                                                                                                                                                                                                                     0.8s
------                                                                                                                                                                                                                                                                                               
 > [game-of-life-webapp 8/9] RUN go build -o /webapp:                                                                                                                                                                                                                                                
0.733 /go/pkg/mod/go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc@v0.37.0/client.go:28:2: no required module provides package go.opentelemetry.io/otel/exporters/otlp/internal; to add it:                                                                                         
0.733   go get go.opentelemetry.io/otel/exporters/otlp/internal                                                                                                                                                                                                                                      
0.733 /go/pkg/mod/go.opentelemetry.io/otel/exporters/otlp/otlpmetric@v0.37.0/internal/oconf/envconfig.go:26:2: no required module provides package go.opentelemetry.io/otel/exporters/otlp/internal/envconfig; to add it:                                                                            
0.733   go get go.opentelemetry.io/otel/exporters/otlp/internal/envconfig                                                                                                                                                                                                                            
0.733 /go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/runtime@v0.40.0/runtime.go:24:2: no required module provides package go.opentelemetry.io/otel/metric/global; to add it:
0.733   go get go.opentelemetry.io/otel/metric/global
0.733 /go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/runtime@v0.40.0/runtime.go:25:2: no required module provides package go.opentelemetry.io/otel/metric/instrument; to add it:
0.733   go get go.opentelemetry.io/otel/metric/instrument
------
failed to solve: process "/bin/sh -c go build -o /webapp" did not complete successfully: exit code: 1

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