update vagrant and rstudio

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle
2018-03-23 19:52:30 -04:00
parent 30d3a3744c
commit a51a48d562
3 changed files with 34 additions and 13 deletions

View File

@@ -16,10 +16,20 @@ RUN apt-get update && apt-get install -y \
ENV VAGRANT_VERSION 2.0.3
ADD https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb /src/vagrant_${VAGRANT_VERSION}_x86_64.deb
# download the source
RUN buildDeps=' \
ca-certificates \
curl \
' \
&& set -x \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& curl -sSL "https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb" -o /tmp/vagrant-amd64.deb \
&& dpkg -i /tmp/vagrant-amd64.deb \
&& rm -rf /tmp/*.deb \
&& apt-get purge -y --auto-remove $buildDeps
# install vagrant and the libvirt plugin
RUN dpkg -i /src/vagrant_${VAGRANT_VERSION}_x86_64.deb \
&& vagrant plugin install vagrant-libvirt
# install the libvirt plugin
RUN vagrant plugin install vagrant-libvirt
ENTRYPOINT [ "vagrant" ]