62 lines
2.9 KiB
Docker
62 lines
2.9 KiB
Docker
FROM sogimu/astralinux
|
|
|
|
RUN echo "deb http://download.astralinux.ru/astra/stable/orel/repository/ orel main contrib non-free" > /etc/apt/sources.list && \
|
|
echo "deb-src http://download.astralinux.ru/astra/stable/orel/repository/ orel main contrib non-free" >> /etc/apt/sources.list && \
|
|
apt-get update -y && \
|
|
apt-get upgrade -y && \
|
|
apt-get install -y git curl sshpass && \
|
|
apt-get install -y libboost-all-dev libcurl4-nss-dev && \
|
|
apt-get install -y qtbase5-dev libjsoncpp-dev && \
|
|
apt-get install -y libxmlrpc-epi-dev libwrap0-dev python-dev && \
|
|
apt-get install -y libxmlrpc-core-c3-dev libncurses-dev libcap-dev && \
|
|
apt-get install -y libqrencode-dev libsystemd-dev libsqlite3-dev && \
|
|
apt-get install -y python3-lxml libftdi-dev libcanberra-gtk-module && \
|
|
apt-get install -y libpng-dev gtk2.0-dev libssl-dev libqt5serialport5-dev xorriso apt-transport-https ca-certificates && \
|
|
apt-get -f install -y && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
rm -f /var/cache/apt/archives/*.deb && \
|
|
rm -f var/cache/apt/archives/partial/*.deb && \
|
|
rm -f /var/cache/apt/*.bin
|
|
|
|
RUN echo "deb http://debian.proxad.net/debian/ stretch main contrib non-free" > /etc/apt/sources.list && \
|
|
apt-get update -y && \
|
|
apt-get install -y --allow-unauthenticated md5deep && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
rm -f /var/cache/apt/archives/*.deb && \
|
|
rm -f var/cache/apt/archives/partial/*.deb && \
|
|
rm -f /var/cache/apt/*.bin
|
|
|
|
RUN echo "deb http://download.astralinux.ru/astra/stable/orel/repository/ orel main contrib non-free" > /etc/apt/sources.list && \
|
|
echo "deb-src http://download.astralinux.ru/astra/stable/orel/repository/ orel main contrib non-free" >> /etc/apt/sources.list
|
|
|
|
# Download and install some custom shit unavailable in default apt
|
|
RUN wget --user=EXAMPLEUSER --password=EXAMPLEPASSWORD -q -N http://example-url/some.deb && \
|
|
dpkg -i --skip-same-version *.deb && \
|
|
rm libarcus2-dev_2.2.0.0.42_amd64.deb && \
|
|
rm libarcus2_2.2.0.0.42_amd64.deb && \
|
|
rm libfptr10-dev_10.9.2.0_amd64.deb && \
|
|
rm libfptr10_10.9.2.0_amd64.deb && \
|
|
rm zint-dev_2.6.7_amd64.deb && \
|
|
rm zint_2.6.7_amd64.deb && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
rm -f /var/cache/apt/archives/*.deb && \
|
|
rm -f var/cache/apt/archives/partial/*.deb && \
|
|
rm -f /var/cache/apt/*.bin
|
|
|
|
RUN apt-get update -y && \
|
|
apt-get install debian-keyring -y && \
|
|
apt install build-essential -y && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
rm -f /var/cache/apt/archives/*.deb && \
|
|
rm -f var/cache/apt/archives/partial/*.deb && \
|
|
rm -f /var/cache/apt/*.bin
|
|
|
|
# Download and install cmake 3.15
|
|
RUN wget https://github.com/Kitware/CMake/releases/download/v3.15.5/cmake-3.15.5-Linux-x86_64.sh && \
|
|
yes Y | bash cmake-3.15.5-Linux-x86_64.sh && \
|
|
echo "PATH=$PATH:/cmake-3.15.5-Linux-x86_64/bin" >> /etc/profile
|