CI / changes (push) Successful in 7s
CI / openapi (push) Has been skipped
CI / go (push) Successful in 1m29s
CI / docker-web (push) Failing after 15s
CI / docker-bird (push) Failing after 14s
CI / bird2 (push) Successful in 14s
CI / docker-go (push) Failing after 14s
Enhanced the CI workflow by adding support for docker-bake.hcl to streamline the building and pushing of Go images. Updated Go version to 1.24 and introduced caching for Go module dependencies. Refactored Dockerfiles for evobgp-agent, evobgp-web, and gobinary to utilize build stages more effectively, improving caching and build performance. Adjusted installation commands and entry points for better clarity and maintainability.
11 lines
466 B
Docker
11 lines
466 B
Docker
# syntax=docker/dockerfile:1.7
|
|
# Агент: бинарь из общего build-all (docker-bake.hcl → contexts.build-all), bird2 из apt.
|
|
FROM public.ecr.aws/docker/library/ubuntu:noble
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends bird2 ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
ARG BIN=evobgp-agent
|
|
COPY --from=build-all /out/${BIN} /usr/local/bin/evobgp-agent
|
|
WORKDIR /etc/bird
|
|
ENTRYPOINT ["/usr/local/bin/evobgp-agent"]
|