fix-dockerfile (#10181)

pull/10186/head
Kay Yan 2023-06-02 17:34:53 +08:00 committed by GitHub
parent 70450a4882
commit 733ac8ffa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 && \