Skip to content

Commit a09b8c0

Browse files
Update Rust Image version to 1.84
1 parent 9cc417b commit a09b8c0

File tree

9 files changed

+58
-67
lines changed

9 files changed

+58
-67
lines changed

control-planes/kubernetes_provider/Dockerfile

+15-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
# Copyright 2024 The Drasi Authors.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
15-
FROM rust@sha256:8fae3b1a63a4dcfb6cf277a49fb5967ccbf479b9e9cee4588a077a9cb216e6d4 as builder
16-
# rust:1.81-bullseye
1+
# Copyright 2024 The Drasi Authors.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
FROM rust:1.84-bullseye as builder
1716
RUN apt-get update && apt-get install -y protobuf-compiler cmake libc6-dev libssl-dev libclang-dev
1817

1918
WORKDIR /usr/src

query-container/publish-api/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
FROM rust:1.84-bullseye as builder
16-
RUN apt-get update && apt-get install -y protobuf-compiler cmake libc6-dev libssl-dev libclang-dev
16+
RUN apt-get update && apt-get install -y protobuf-compiler cmake libc6-dev libssl-dev libclang-dev libcurl4 && apt-get clean
1717

1818
WORKDIR /usr/src
1919
COPY . .

query-container/query-host/Dockerfile

+12-13
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,16 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM rust@sha256:8fae3b1a63a4dcfb6cf277a49fb5967ccbf479b9e9cee4588a077a9cb216e6d4 as builder
16-
# rust:1.81-bullseye
17-
RUN apt-get update && apt-get install -y protobuf-compiler cmake libc6-dev libssl-dev libclang-dev
18-
19-
WORKDIR /usr/src
20-
COPY . .
21-
WORKDIR /usr/src
22-
RUN cargo install --path .
23-
24-
FROM gcr.io/distroless/cc-debian11@sha256:55a5e011b2c4246b4c51e01fcc2b452d151e03df052e357465f0392fcd59fddf
25-
# gcr.io/distroless/cc-debian11
26-
ENV RUST_BACKTRACE=1
27-
COPY --from=builder /usr/local/cargo/bin/query-host /usr/local/bin/query-host
15+
FROM rust:1.84-bullseye as builder
16+
RUN apt-get update && apt-get install -y protobuf-compiler cmake libc6-dev libssl-dev libclang-dev
17+
18+
WORKDIR /usr/src
19+
COPY . .
20+
WORKDIR /usr/src
21+
RUN cargo install --path .
22+
23+
FROM gcr.io/distroless/cc-debian11@sha256:55a5e011b2c4246b4c51e01fcc2b452d151e03df052e357465f0392fcd59fddf
24+
# gcr.io/distroless/cc-debian11
25+
ENV RUST_BACKTRACE=1
26+
COPY --from=builder /usr/local/cargo/bin/query-host /usr/local/bin/query-host
2827
CMD ["query-host"]

query-container/view-svc/Dockerfile

+12-13
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,16 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM rust@sha256:8fae3b1a63a4dcfb6cf277a49fb5967ccbf479b9e9cee4588a077a9cb216e6d4 as builder
16-
# rust:1.81-bullseye
17-
RUN apt-get update && apt-get install -y protobuf-compiler cmake libc6-dev libssl-dev libclang-dev
18-
19-
WORKDIR /usr/src
20-
COPY . .
21-
WORKDIR /usr/src
22-
RUN cargo install --force --path .
23-
24-
FROM gcr.io/distroless/cc@sha256:3b75fdd33932d16e53a461277becf57c4f815c6cee5f6bc8f52457c095e004c8
25-
# gcr.io/distroless/cc
26-
ENV RUST_BACKTRACE=1
27-
COPY --from=builder /usr/local/cargo/bin/view-svc /usr/local/bin/view-svc
15+
FROM rust:1.84-bullseye as builder
16+
RUN apt-get update && apt-get install -y protobuf-compiler cmake libc6-dev libssl-dev libclang-dev
17+
18+
WORKDIR /usr/src
19+
COPY . .
20+
WORKDIR /usr/src
21+
RUN cargo install --force --path .
22+
23+
FROM gcr.io/distroless/cc-debian11@sha256:55a5e011b2c4246b4c51e01fcc2b452d151e03df052e357465f0392fcd59fddf
24+
# gcr.io/distroless/cc-debian11
25+
ENV RUST_BACKTRACE=1
26+
COPY --from=builder /usr/local/cargo/bin/view-svc /usr/local/bin/view-svc
2827
CMD ["view-svc"]

sources/kubernetes/kubernetes-proxy/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
FROM rust@sha256:8fae3b1a63a4dcfb6cf277a49fb5967ccbf479b9e9cee4588a077a9cb216e6d4 as builder
2-
# rust:1.81-bullseye
1+
FROM rust:1.84-bullseye as builder
32
RUN apt-get update && apt-get install -y protobuf-compiler libcurl4 && apt-get clean
43

54
WORKDIR /usr/src

sources/kubernetes/kubernetes-reactivator/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
FROM rust@sha256:8fae3b1a63a4dcfb6cf277a49fb5967ccbf479b9e9cee4588a077a9cb216e6d4 as builder
2-
# rust:1.81-bullseye
1+
FROM rust:1.84-bullseye as builder
32
RUN apt-get update && apt-get install -y protobuf-compiler libcurl4 && apt-get clean
43

54
WORKDIR /usr/src

sources/sdk/rust/example/proxy/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
FROM rust@sha256:8fae3b1a63a4dcfb6cf277a49fb5967ccbf479b9e9cee4588a077a9cb216e6d4 as builder
2-
# rust:1.81-bullseye
1+
FROM rust:1.84-bullseye as builder
32
RUN apt-get update && apt-get install -y protobuf-compiler libcurl4 && apt-get clean
43

54
WORKDIR /usr/src

sources/sdk/rust/example/reactivator/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
FROM rust@sha256:8fae3b1a63a4dcfb6cf277a49fb5967ccbf479b9e9cee4588a077a9cb216e6d4 as builder
2-
# rust:1.81-bullseye
1+
FROM rust:1.84-bullseye as builder
32
RUN apt-get update && apt-get install -y protobuf-compiler libcurl4 && apt-get clean
43

54
WORKDIR /usr/src

sources/shared/change-router/Dockerfile

+14-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
# Copyright 2024 The Drasi Authors.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
15-
FROM rust@sha256:8fae3b1a63a4dcfb6cf277a49fb5967ccbf479b9e9cee4588a077a9cb216e6d4 as builder
16-
# rust:1.81-bullseye
1+
# Copyright 2024 The Drasi Authors.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
1714

15+
FROM rust:1.84-bullseye as builder
1816
RUN apt-get update && apt-get install -y protobuf-compiler libcurl4 && apt-get clean
1917

2018
WORKDIR /usr/src

0 commit comments

Comments
 (0)