2018-05-23 01:26:17 +00:00
|
|
|
# Or bionic
|
2018-06-18 00:14:40 +00:00
|
|
|
FROM ubuntu:bionic
|
2018-05-23 01:26:17 +00:00
|
|
|
LABEL author="Bumsik Kim <k.bumsik@gmail.com>"
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
2018-06-24 21:30:52 +00:00
|
|
|
apt-get install -y python3-all python3-pip python3-wheel fakeroot debmake debhelper fakeroot wget tar curl && \
|
2018-05-23 01:26:17 +00:00
|
|
|
apt-get autoremove -y && \
|
|
|
|
ln /usr/bin/python3 /usr/bin/python && \
|
|
|
|
ln /usr/bin/pip3 /usr/bin/pip && \
|
|
|
|
rm -rf /var/cache/apt/archives/*.deb && \
|
2018-06-03 15:55:15 +00:00
|
|
|
pip install virtualenv && \
|
2018-06-18 07:11:21 +00:00
|
|
|
pip install --upgrade pip setuptools
|
2018-06-03 15:55:15 +00:00
|
|
|
|
|
|
|
# Get Miniconda and make it the main Python interpreter
|
|
|
|
RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
|
|
|
|
bash ~/miniconda.sh -b -p ~/miniconda && \
|
|
|
|
rm ~/miniconda.sh
|
2018-06-24 21:30:52 +00:00
|
|
|
|
|
|
|
# AppImageKit
|
|
|
|
WORKDIR /opt
|
|
|
|
RUN wget https://github.com/AppImage/AppImageKit/releases/download/10/appimagetool-x86_64.AppImage && \
|
|
|
|
chmod a+x appimagetool-x86_64.AppImage && \
|
|
|
|
./appimagetool-x86_64.AppImage --appimage-extract && \
|
|
|
|
mv squashfs-root appimagetool && \
|
|
|
|
rm appimagetool-x86_64.AppImage
|
|
|
|
ENV PATH=/opt/appimagetool/usr/bin:$PATH
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
CMD ["/bin/bash"]
|