Skip to content

Commit

Permalink
DockerFile#5
Browse files Browse the repository at this point in the history
  • Loading branch information
vpidatala94 committed Feb 21, 2025
1 parent 999df6a commit 18bdc65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ 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 ./pkg/plugin/ebpfwindows/ C:/hpc/
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 @@ -140,4 +139,6 @@ COPY --from=controller-bin /go/src/github.com/microsoft/retina/windows/setkubeco
COPY --from=controller-bin /go/bin/retina/controller controller.exe
COPY --from=capture-bin /go/bin/retina/captureworkload captureworkload.exe
ADD https://github.com/microsoft/etl2pcapng/releases/download/v1.10.0/etl2pcapng.exe /etl2pcapng.exe
ADD https://github.com/vpidatala94/retina/blob/user/vpidatala/POC/8/pkg/plugin/ebpfwindows/retinaebpfapi.dll C:/hpc/retinaebpfapi.dll
CMD ["controller.exe", "start", "--kubeconfig=.\\kubeconfig"]
CMD ["controller.exe", "start", "--kubeconfig=.\\kubeconfig"]

0 comments on commit 18bdc65

Please sign in to comment.