Skip to content

Commit c6c9716

Browse files
committed
a
Signed-off-by: Daniil Antoshin <[email protected]>
1 parent d598acb commit c6c9716

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

Taskfile.yaml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -215,18 +215,7 @@ tasks:
215215
"ports": [ { "containerPort": 2345, "name": "dlv" } ],
216216
"readinessProbe": null,
217217
"livenessProbe": null,
218-
"command": null,
219-
"args": []
220-
},
221-
{
222-
"name": "proxy",
223-
"readinessProbe": null,
224-
"livenessProbe": null
225-
},
226-
{
227-
"name": "kube-rbac-proxy",
228-
"readinessProbe": null,
229-
"livenessProbe": null
218+
"command": null
230219
}
231220
]
232221
}

images/virt-handler/debug/dlv.Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,24 @@ RUN go mod edit -go=$GOVERSION && \
3333

3434
RUN go mod vendor
3535

36+
RUN git apply patches/0001-upd-vendor-cgroups-devices-emulator-add-alias.patch
37+
3638
ENV GO111MODULE=on
3739
ENV GOOS=linux
3840
ENV CGO_ENABLED=1
3941
ENV GOARCH=amd64
4042

41-
RUN go build -o /kubevirt-binaries/virt-handler ./cmd/virt-handler/
43+
RUN go build -gcflags="all=-N -l" -o /kubevirt-binaries/virt-handler ./cmd/virt-handler/
4244
RUN gcc -static cmd/container-disk-v2alpha/main.c -o /kubevirt-binaries/container-disk
43-
RUN go build -o /kubevirt-binaries/virt-chroot ./cmd/virt-chroot/
45+
RUN go build -gcflags="all=-N -l" -o /kubevirt-binaries/virt-chroot ./cmd/virt-chroot/
4446

4547
FROM basealt
4648

4749
RUN apt-get update && apt-get install --yes \
4850
acl \
4951
procps \
5052
nftables \
51-
qemu-img==9.0.2-alt3 \
53+
qemu-img==9.1.2-alt1 \
5254
xorriso==1.5.6-alt1 && \
5355
apt-get clean && \
5456
rm --recursive --force /var/lib/apt/lists/ftp.altlinux.org* /var/cache/apt/*.bin

0 commit comments

Comments
 (0)