fix-dockerfile (#10181)
parent
70450a4882
commit
733ac8ffa9
|
@ -8,7 +8,7 @@ ENV LANG=C.UTF-8 \
|
||||||
DEBIAN_FRONTEND=noninteractive \
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
PYTHONDONTWRITEBYTECODE=1
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
WORKDIR /kubespray
|
WORKDIR /kubespray
|
||||||
COPY *yml .
|
COPY *.yml ./
|
||||||
COPY roles ./roles
|
COPY roles ./roles
|
||||||
COPY contrib ./contrib
|
COPY contrib ./contrib
|
||||||
COPY inventory ./inventory
|
COPY inventory ./inventory
|
||||||
|
|
|
@ -7,7 +7,7 @@ ENV VAGRANT_VERSION=2.3.4
|
||||||
ENV VAGRANT_DEFAULT_PROVIDER=libvirt
|
ENV VAGRANT_DEFAULT_PROVIDER=libvirt
|
||||||
ENV VAGRANT_ANSIBLE_TAGS=facts
|
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
|
# Install Vagrant
|
||||||
RUN wget https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}-1_amd64.deb && \
|
RUN wget https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}-1_amd64.deb && \
|
||||||
|
|
Loading…
Reference in New Issue