After releasing pack 0.34.0 our CI/CD workflow failed to publish in docker registry because our base image is using docker 1.20, this PR fixes that. Also, the CI/CD failed deploying to ubuntu lunar, but this version reached its end of life in January 25 2024, I am removing it because we don't need to support it anymore.
Output
Before
Error:
> [linux/amd64 builder 4/4] RUN make build:
14.04 go: downloading github.com/beorn7/perks v1.0.1
14.05 go: downloading github.com/cespare/xxhash/v2 v2.2.0
14.06 go: downloading github.com/prometheus/client_model v0.5.0
14.09 go: downloading github.com/prometheus/common v0.48.0
14.10 go: downloading github.com/prometheus/procfs v0.12.0
30.24 /go/pkg/mod/go.opentelemetry.io/otel@v1.25.0/attribute/set.go:7:2: package cmp is not in GOROOT (/usr/local/go/src/cmp)
30.24 note: imported by a module that requires go 1.21
30.24 /go/pkg/mod/go.opentelemetry.io/otel@v1.25.0/attribute/set.go:10:2: package slices is not in GOROOT (/usr/local/go/src/slices)
30.24 note: imported by a module that requires go 1.21
30.24 make: *** [Makefile:61: build] Error 1
------
Dockerfile:8
--------------------
6 | WORKDIR /app
7 | COPY . .
8 | >>> RUN make build
9 |
10 | FROM ${base_image}
--------------------
ERROR: failed to solve: process "/bin/sh -c make build" did not complete successfully: exit code: 2
Error: Process completed with exit code 1.
Summary
After releasing pack 0.34.0 our CI/CD workflow failed to publish in docker registry because our base image is using docker 1.20, this PR fixes that. Also, the CI/CD failed deploying to ubuntu lunar, but this version reached its end of life in January 25 2024, I am removing it because we don't need to support it anymore.
Output
Before
Error:
After
Running docker build works
Resolves #2172 Resoves #2156