diff --git a/agent/docker/dockerfile-build b/agent/docker/dockerfile-build index dd06eb815e6..2aaa471f8b4 100644 --- a/agent/docker/dockerfile-build +++ b/agent/docker/dockerfile-build @@ -1,8 +1,8 @@ -FROM ghcr.io/deepflowio/rust-build:1.20 as builder +FROM ghcr.io/deepflowio/rust-build:1.22 as builder COPY . /deepflow/ WORKDIR /deepflow/agent ARG GITHUB_REF_NAME -RUN source /opt/rh/devtoolset-8/enable && cp docker/rust-proxy-config /usr/local/cargo/config && RUSTFLAGS="-D warnings -C force-frame-pointers=yes" cargo build --release && \ +RUN source /opt/rh/devtoolset-8/enable && cp docker/rust-proxy-config /usr/local/cargo/config && RUSTFLAGS="-C force-frame-pointers=yes" cargo build --release && \ cargo build --release --bin deepflow-agent-ctl && \ ls -alh target/release FROM scratch diff --git a/agent/docker/dockerfile-build-aarch64 b/agent/docker/dockerfile-build-aarch64 index e8a5c72a7e6..8483e5e8840 100644 --- a/agent/docker/dockerfile-build-aarch64 +++ b/agent/docker/dockerfile-build-aarch64 @@ -1,9 +1,9 @@ # TODO : aarch64 env rust-build update -FROM ghcr.io/deepflowio/rust-build:1.20-arm64 as builder +FROM ghcr.io/deepflowio/rust-build:1.21-arm64 as builder COPY . /deepflow/ WORKDIR /deepflow/agent ARG GITHUB_REF_NAME -RUN source /opt/rh/devtoolset-8/enable && RUSTFLAGS="-D warnings -C force-frame-pointers=yes" cargo build --release && \ +RUN source /opt/rh/devtoolset-8/enable && RUSTFLAGS="-C force-frame-pointers=yes" cargo build --release && \ cargo build --release --bin deepflow-agent-ctl && \ ls -alh target/release FROM scratch diff --git a/agent/docker/dockerfile-build-aarch64-static-link b/agent/docker/dockerfile-build-aarch64-static-link index c1899ef784a..d43850feb9b 100644 --- a/agent/docker/dockerfile-build-aarch64-static-link +++ b/agent/docker/dockerfile-build-aarch64-static-link @@ -1,9 +1,9 @@ # TODO : aarch64 env rust-build update -FROM ghcr.io/deepflowio/rust-build:1.20-arm64 as builder +FROM ghcr.io/deepflowio/rust-build:1.21-arm64 as builder COPY . /deepflow/ WORKDIR /deepflow/agent ARG GITHUB_REF_NAME -RUN source /opt/rh/devtoolset-8/enable && RUSTFLAGS="-D warnings -C force-frame-pointers=yes" cargo build --release --target=aarch64-unknown-linux-musl && \ +RUN source /opt/rh/devtoolset-8/enable && RUSTFLAGS="-C force-frame-pointers=yes" cargo build --release --target=aarch64-unknown-linux-musl && \ cargo build --release --bin deepflow-agent-ctl --target=aarch64-unknown-linux-musl && \ ls -alh target/aarch64-unknown-linux-musl/release FROM scratch diff --git a/agent/docker/dockerfile-build-static-link b/agent/docker/dockerfile-build-static-link index 590a58939ab..390ce251bc7 100644 --- a/agent/docker/dockerfile-build-static-link +++ b/agent/docker/dockerfile-build-static-link @@ -1,10 +1,10 @@ -FROM ghcr.io/deepflowio/rust-build:1.21 as builder +FROM ghcr.io/deepflowio/rust-build:1.22 as builder COPY . /deepflow/ WORKDIR /deepflow/agent ARG GITHUB_REF_NAME RUN cp docker/rust-proxy-config /usr/local/cargo/config && \ source /opt/rh/devtoolset-11/enable && \ - RUSTFLAGS="-D warnings -C force-frame-pointers=yes" cargo build --release --target=x86_64-unknown-linux-musl && \ + RUSTFLAGS="-C force-frame-pointers=yes" cargo build --release --target=x86_64-unknown-linux-musl && \ cargo build --release --bin deepflow-agent-ctl --target=x86_64-unknown-linux-musl && \ ls -alh target/x86_64-unknown-linux-musl/release FROM scratch