mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 14:22:40 +01:00
update vagrant and rstudio
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
@@ -13,11 +13,8 @@
|
||||
FROM debian:jessie
|
||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||
|
||||
ADD https://download1.rstudio.org/rstudio-0.99.484-amd64.deb /src/rstudio.deb
|
||||
|
||||
# Install Rstudio
|
||||
# Install Rstudio deps
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates \
|
||||
fcitx-frontend-qt5 \
|
||||
fcitx-modules \
|
||||
fcitx-module-dbus \
|
||||
@@ -50,11 +47,24 @@ RUN apt-get update && apt-get install -y \
|
||||
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
|
||||
&& locale-gen en_US.utf8 \
|
||||
&& /usr/sbin/update-locale LANG=en_US.UTF-8 \
|
||||
&& dpkg -i '/src/rstudio.deb' \
|
||||
&& apt-get install -fy \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV RSTUDIO_VERSION 1.1.442
|
||||
|
||||
# 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/* \
|
||||
&& rm -rf /src/*.deb \
|
||||
&& ln -f -s /usr/lib/rstudio/bin/rstudio /usr/bin/rstudio
|
||||
&& curl -sSL "https://download1.rstudio.org/rstudio-${RSTUDIO_VERSION}-amd64.deb" -o /tmp/rstudio-amd64.deb \
|
||||
&& dpkg -i /tmp/rstudio-amd64.deb \
|
||||
&& rm -rf /tmp/*.deb \
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
&& ln -f -s /usr/lib/rstudio/bin/rstudio /usr/bin/rstudio
|
||||
|
||||
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
ENV LANG en_US.UTF-8
|
||||
|
||||
Reference in New Issue
Block a user