Skip to content

Commit

Permalink
DockerFile
Browse files Browse the repository at this point in the history
  • Loading branch information
vpidatala94 committed Feb 21, 2025
1 parent 43cccfc commit 8a64bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RUN if [ "$GOOS" = "linux" ] ; then \
COPY ./pkg/plugin /go/src/github.com/microsoft/retina/pkg/plugin
WORKDIR /go/src/github.com/microsoft/retina
RUN dir /go/src/github.com/microsoft/retina/pkg/plugin/ebpfwindows
COPY /go/src/github.com/microsoft/retina/pkg/plugin/ebpfwindows/retinaebpfapi.dll C:/hpc/retinaebpfapi.dll
RUN if [ "$GOOS" = "linux" ] ; then \
go mod init github.com/microsoft/retina; \
go generate -skip "mockgen" -x /go/src/github.com/microsoft/retina/pkg/plugin/...; \
Expand Down Expand Up @@ -77,7 +78,6 @@ ARG VERSION
ENV GOARCH=${GOARCH}
ENV GOOS=${GOOS}
RUN --mount=type=cache,target="/root/.cache/go-build" go build -v -o /go/bin/retina/initretina -ldflags "-X github.com/microsoft/retina/internal/buildinfo.Version="$VERSION" -X github.com/microsoft/retina/internal/buildinfo.ApplicationInsightsID="$APP_INSIGHTS_ID"" init/retina/main_linux.go
COPY --from=intermediate /go/src/github.com/microsoft/retina/pkg/plugin/ebpfwindows/retinaebpfapi.dll C:/hpc/retinaebpfapi.dll

# tools image
FROM mariner-core AS tools
Expand Down

0 comments on commit 8a64bff

Please sign in to comment.