fix-dockerfile (#10127)
parent
4013c48acb
commit
861d5b763d
|
@ -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