ayushkhare12

Docker Ubuntu

Oct 2nd, 2019
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.94 KB | None | 0 0
  1. ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
  2. ENV PATH /opt/conda/bin:$PATH
  3.  
  4. RUN apt-get update --fix-missing && apt-get install -y wget bzip2 ca-certificates \
  5.     libglib2.0-0 libxext6 libsm6 libxrender1 \
  6.     git mercurial subversion
  7.  
  8. RUN wget --quiet https://repo.anaconda.com/archive/Anaconda3-5.3.0-Linux-x86_64.sh -O ~/anaconda.sh && \
  9.     /bin/bash ~/anaconda.sh -b -p /opt/conda && \
  10.     rm ~/anaconda.sh && \
  11.     ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
  12.     echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
  13.     echo "conda activate base" >> ~/.bashrc
  14.  
  15. RUN apt-get install -y curl grep sed dpkg && \
  16.     TINI_VERSION=`curl https://github.com/krallin/tini/releases/latest | grep -o "/v.*\"" | sed 's:^..\(.*\).$:\1:'` && \
  17.     curl -L "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini_${TINI_VERSION}.deb" > tini.deb && \
  18.     dpkg -i tini.deb && \
  19.     rm tini.deb && \
  20.     apt-get clean
Add Comment
Please, Sign In to add comment