Skip to content

Commit

Permalink
Upgrade Docker images to use ubuntu:mantic (grafana#5537)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptodev authored and BarunKGP committed Feb 20, 2024
1 parent 3205749 commit 2e43e81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions cmd/grafana-agent-operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
RELEASE_BUILD=${RELEASE_BUILD} VERSION=${VERSION} \
make operator

FROM ubuntu:lunar
FROM ubuntu:mantic

LABEL org.opencontainers.image.source="https://github.com/grafana/agent"

# Install dependencies needed at runtime.
RUN <<EOF
apt-get update
apt-get install -qy libsystemd-dev tzdata ca-certificates
apt-get upgrade -y
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
EOF

Expand Down
3 changes: 1 addition & 2 deletions cmd/grafana-agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
GOEXPERIMENT=${GOEXPERIMENT} \
make agent

FROM ubuntu:lunar
FROM ubuntu:mantic

LABEL org.opencontainers.image.source="https://github.com/grafana/agent"

# Install dependencies needed at runtime.
RUN <<EOF
apt-get update
apt-get install -qy libsystemd-dev tzdata ca-certificates
apt-get upgrade -y
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
EOF

Expand Down
3 changes: 1 addition & 2 deletions cmd/grafana-agentctl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
GO_TAGS="netgo promtail_journal_enabled" \
make agentctl

FROM ubuntu:lunar
FROM ubuntu:mantic

LABEL org.opencontainers.image.source="https://github.com/grafana/agent"

# Install dependencies needed at runtime.
RUN <<EOF
apt-get update
apt-get install -qy libsystemd-dev tzdata ca-certificates
apt-get upgrade -y
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
EOF

Expand Down

0 comments on commit 2e43e81

Please sign in to comment.