You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang@sha256:8f60e85f4b2f567c888d0b3a4cd12dc74bee534d94c528655546452912d90c74 AS go
10
6
11
-
# mcr.microsoft.com/azurelinux/base/core:3.0
12
-
FROM --platform=linux/${ARCH} mcr.microsoft.com/azurelinux/base/core@sha256:9948138108a3d69f1dae62104599ac03132225c3b7a5ac57b85a214629c8567d AS mariner-core
13
-
14
-
FROM go AS azure-cni-telemetry-sidecar
7
+
FROM go AS cni-telemetry-sidecar
15
8
ARG OS
16
9
ARG VERSION
17
10
ARG CNI_AI_PATH
18
11
ARG CNI_AI_ID
19
12
13
+
# Add debug output to verify build args are received
14
+
RUN echo "=== Dockerfile Build Debug ==="
15
+
RUN echo "VERSION = $VERSION"
16
+
RUN echo "CNI_AI_ID = $CNI_AI_ID"
17
+
RUN echo "CNI_AI_PATH = $CNI_AI_PATH"
18
+
20
19
WORKDIR /azure-container-networking
21
20
COPY . .
22
21
23
-
# Debug: Check if the source file exists and show Go version
24
-
RUN ls -la cns/cni-telemetry-sidecar/ && go version
25
-
26
-
# Build the Azure CNI telemetry sidecar binary for Linux
FROM --platform=windows/${ARCH} mcr.microsoft.com/oss/kubernetes/windows-host-process-containers-base-image@sha256:b4c9637e032f667c52d1eccfa31ad8c63f1b035e8639f3f48a510536bf34032b AS hpc
0 commit comments