msojocs 5be7974b85 Squashed commit of the following:
commit 28e7e834f793b3c9ce05c47d41e15f8a1f49d30b
Author: msojocs <jiyecafe@gmail.com>
Date:   Thu Apr 7 13:22:57 2022 +0800

    fix: 7z

commit 15f29ca887a51d7ecc783f8fddabf4e9cd3b5d21
Author: msojocs <jiyecafe@gmail.com>
Date:   Thu Apr 7 13:12:07 2022 +0800

    update: flatpak

commit 6f048bf662c2e2f64addd58d9039310a189af441
Author: msojocs <jiyecafe@gmail.com>
Date:   Thu Apr 7 12:26:45 2022 +0800

    update

commit 039de9c1b3dd53960dd7cb7fbdea6bf147481536
Author: msojocs <jiyecafe@gmail.com>
Date:   Thu Apr 7 12:16:18 2022 +0800

    update: flatpak

commit da0a56a89256a5b9792edd625666d06949ede55c
Author: msojocs <jiyecafe@gmail.com>
Date:   Thu Apr 7 12:16:02 2022 +0800

    fix: 可能的vscode-ripgrep/bin/rg 不存在问题

commit 9f7fd4ed39cc335966a095c9ab05931246282e3e
Author: msojocs <jiyecafe@gmail.com>
Date:   Wed Apr 6 23:34:18 2022 +0800

    update: flatpak

commit b00dfb3ef7d46f0423fa916078c6de6506ad525f
Author: msojocs <jiyecafe@gmail.com>
Date:   Wed Apr 6 23:20:48 2022 +0800

    feat: nodegit compiler in parallel

commit 4ff58b2fb854a874de86a5ec2be1846d8bb00f2c
Author: msojocs <jiyecafe@gmail.com>
Date:   Wed Apr 6 13:54:21 2022 +0800

    update: mirror

commit 76aac0f6a5ecae98c28b77ffc016a79d530584b1
Author: msojocs <jiyecafe@gmail.com>
Date:   Sun Apr 3 23:05:16 2022 +0800

    fix: build

commit 3099858f56eab1db82c9965a60c323869898e37f
Author: msojocs <jiyecafe@gmail.com>
Date:   Sun Apr 3 22:11:24 2022 +0800

    update

commit 150a944c026f14e6e4157ed84243560565a89818
Author: msojocs <jiyecafe@gmail.com>
Date:   Sat Mar 26 20:22:43 2022 +0800

    test

commit 6fa17ebca20f2980f08774c56a48dfa1b5ea6381
Author: msojocs <jiyecafe@gmail.com>
Date:   Sat Mar 26 19:05:35 2022 +0800

    fix: deepin build

commit 3c373a8f6fa765741c3a974d72833b3e240adb2a
Author: msojocs <jiyecafe@gmail.com>
Date:   Sat Mar 26 18:06:43 2022 +0800

    update: deepin build

commit f29fa16289132b40ef1d85992600770cfd2ba298
Author: msojocs <jiyecafe@gmail.com>
Date:   Fri Mar 25 22:42:45 2022 +0800

    使用debuild

commit 324d866482c77a9b7bb4715eebed9c149af7b1d8
Author: msojocs <jiyecafe@gmail.com>
Date:   Wed Mar 23 09:35:12 2022 +0800

    fix: krb5

commit e463415599a04fae282cb36e8a5d3ee2ebae2239
Author: msojocs <jiyecafe@gmail.com>
Date:   Tue Mar 22 22:58:52 2022 +0800

    feat: flatpak

commit 83677cba04e9d84a1ef12cfdeacb0f1e779b4e8c
Merge: 7ff73e1 41ad887
Author: msojocs <jiyecafe@gmail.com>
Date:   Tue Mar 22 13:27:06 2022 +0800

    Merge branch 'master' into flatpak

commit 7ff73e13c795ef1e84b6a6f09fb9347de3600947
Author: msojocs <jiyecafe@gmail.com>
Date:   Fri Mar 11 22:44:35 2022 +0800

    test
2022-04-07 13:43:45 +08:00

41 lines
1.5 KiB
Docker

FROM ubuntu:16.04
WORKDIR /workspace
RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \
sed -i 's/security.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \
sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \
mkdir -p /build_temp/python36 /build_temp/nodejs && \
apt update && \
apt install -y binutils software-properties-common gcc g++ \
gconf2 libxkbfile-dev p7zip-full make libssh2-1-dev libkrb5-dev wget curl \
openssl pkg-config build-essential && \
cd /build_temp/python36 && \
apt-get install -y aptitude &&\
aptitude -y install gcc make zlib1g-dev libffi-dev libssl-dev &&\
mkdir -p test && cd test &&\
wget http://npmmirror.com/mirrors/python/3.6.5/Python-3.6.5.tgz &&\
tar -xvf Python-3.6.5.tgz &&\
chmod -R +x Python-3.6.5 &&\
cd Python-3.6.5/ &&\
./configure &&\
aptitude -y install libffi-dev libssl-dev &&\
make && make install &&\
cd /build_temp/nodejs &&\
wget https://deb.nodesource.com/setup_16.x &&\
chmod +x setup_16.x &&\
./setup_16.x &&\
apt-get install -y nodejs &&\
rm -rf /build_temp && \
apt install -y gosu && \
gosu nobody true && \
useradd -s /bin/bash -m user
RUN apt remove -y p7zip p7zip-full p7zip-rar &&\
rm -rf /opt/7z && \
mkdir -p /opt/7z && \
cd /opt/7z && \
wget https://www.7-zip.org/a/7z2107-linux-x64.tar.xz && \
tar -xJf 7z2107-linux-x64.tar.xz && \
ln -s 7zz 7z
ENV PATH=/opt/7z:$PATH