From 733ac8ffa990430614f52c4a88691cdae5371d54 Mon Sep 17 00:00:00 2001 From: Kay Yan Date: Fri, 2 Jun 2023 17:34:53 +0800 Subject: [PATCH] fix-dockerfile (#10181) --- Dockerfile | 2 +- test-infra/vagrant-docker/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 098529463..2a4615f7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ENV LANG=C.UTF-8 \ DEBIAN_FRONTEND=noninteractive \ PYTHONDONTWRITEBYTECODE=1 WORKDIR /kubespray -COPY *yml . +COPY *.yml ./ COPY roles ./roles COPY contrib ./contrib COPY inventory ./inventory diff --git a/test-infra/vagrant-docker/Dockerfile b/test-infra/vagrant-docker/Dockerfile index b78b619ec..f12a7409a 100644 --- a/test-infra/vagrant-docker/Dockerfile +++ b/test-infra/vagrant-docker/Dockerfile @@ -7,7 +7,7 @@ ENV VAGRANT_VERSION=2.3.4 ENV VAGRANT_DEFAULT_PROVIDER=libvirt ENV VAGRANT_ANSIBLE_TAGS=facts -RUN apt-get update && apt-get install -y wget libvirt-dev openssh-client rsync git +RUN apt-get update && apt-get install -y wget libvirt-dev openssh-client rsync git build-essential # Install Vagrant RUN wget https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}-1_amd64.deb && \