Upgrade cri-dockerd

pull/13302/head
Anders F Björklund 2022-01-05 23:26:17 +01:00
parent 89795d1946
commit 9bfc7009a5
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ RUN cd ./cmd/auto-pause/ && go build
# cri-dockerd static
FROM golang:1.16
RUN git clone -n https://github.com/Mirantis/cri-dockerd && \
cd cri-dockerd && git checkout 542e27dee12db61d6e96d2a83a20359474a5efa2 && \
cd src && env CGO_ENABLED=0 go build -o cri-dockerd
cd cri-dockerd && git checkout eb0c48ef49856f7d098ec005ddebcae197e08e49 && \
cd src && env CGO_ENABLED=0 go build -ldflags '-X github.com/Mirantis/cri-dockerd/version.GitCommit=eb0c48e' -o cri-dockerd
# start from ubuntu 20.04, this image is reasonably small as a starting point
# for a kubernetes node image, it doesn't contain much we don't need