File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
# Licensed under the MIT License. See License.txt in the project root for license information.
4
4
# --------------------------------------------------------------------------------------------
5
5
6
- FROM mcr.microsoft.com/oss/go/microsoft/golang:1.24.1-fips-azurelinux3.0 as builder
6
+ FROM mcr.microsoft.com/oss/go/microsoft/golang:1.24.1 AS builder
7
7
ARG PROJECT_DIR=/go/src/github.com/microsoft
8
8
WORKDIR ${PROJECT_DIR}/confidential-container-demos
9
9
COPY /kafka/consumer ./kafka/consumer
10
10
COPY /kafka/util ./kafka/util
11
11
RUN cd kafka/consumer && CGO_ENABLED=0 GOOS=linux go build -mod=readonly -v -o consume
12
- FROM mcr.microsoft.com/cbl-mariner /distroless/minimal:2 .0
12
+ FROM mcr.microsoft.com/azurelinux /distroless/minimal:3 .0
13
13
COPY /kafka/consumer/web /web
14
14
COPY /kafka/consumer/webtemplates /webtemplates
15
15
COPY --from=builder /go/src/github.com/microsoft/confidential-container-demos/kafka/consumer/consume /consume
Original file line number Diff line number Diff line change 3
3
# Licensed under the MIT License. See License.txt in the project root for license information.
4
4
# --------------------------------------------------------------------------------------------
5
5
6
- FROM mcr.microsoft.com/oss/go/microsoft/golang:1.24.1-fips-azurelinux3.0 as builder
6
+ FROM mcr.microsoft.com/oss/go/microsoft/golang:1.24.1 AS builder
7
7
ARG PROJECT_DIR=/go/src/github.com/microsoft
8
8
WORKDIR ${PROJECT_DIR}/confidential-container-demos
9
9
COPY /kafka/producer ./kafka/producer
10
10
COPY /kafka/util ./kafka/util
11
11
RUN cd kafka/producer && CGO_ENABLED=0 GOOS=linux go build -mod=readonly -v -o produce
12
- FROM mcr.microsoft.com/cbl-mariner /distroless/minimal:2 .0
12
+ FROM mcr.microsoft.com/azurelinux /distroless/minimal:3 .0
13
13
COPY --from=builder /go/src/github.com/microsoft/confidential-container-demos/kafka/producer/produce /produce
14
14
CMD ["/produce" ]
You can’t perform that action at this time.
0 commit comments