From 5c7d714f58b14bc4f0eb3df2a3c8671c12df261c Mon Sep 17 00:00:00 2001 From: Kay Yan Date: Wed, 24 May 2023 10:57:51 +0000 Subject: [PATCH] fix-dockerfile --- Dockerfile | 2 +- test-infra/vagrant-docker/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 098529463e9..2a4615f7ed1 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 b78b619ec66..f12a7409ae8 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 && \