forked from jygzyc/dockers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Cache files | ||
**/__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Personal Docker Containers | ||
|
||
## android | ||
|
||
Compile AOSP or third-party android source code | ||
|
||
## optee | ||
|
||
Compile exploits of OPTEE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM ubuntu:20.04 | ||
|
||
# Change apt sources list | ||
COPY sources.list /etc/apt/sources.list | ||
|
||
# Create environment | ||
ENV DEBIAN_FRONTEND noninteractive | ||
RUN apt-get -qq update | ||
RUN apt-get -y install bc bison build-essential ccache cpio curl flex g++-multilib gcc-multilib | ||
RUN apt-get -y install git git-lfs gnupg gperf imagemagick libc6-dev libelf-dev libgl1-mesa-dev liblz4-tool | ||
RUN apt-get -y install libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libx11-dev libxml2 libxml2-utils | ||
RUN apt-get -y install lzop lzip m4 make ncurses-dev patch pngcrush python3 python3-pip rsync schedtool | ||
RUN apt-get -y install squashfs-tools unzip x11proto-core-dev xsltproc zip zlib1g-dev openjdk-11-jdk | ||
RUN ln -s /usr/bin/python3 /usr/bin/python | ||
|
||
# Install repo | ||
RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/bin/repo | ||
|
||
# Turn on caching | ||
# ENV USE_CCACHE 1 | ||
# ENV CCACHE_EXEC /usr/bin/ccache | ||
# RUN ccache -M 50G | ||
|
||
# Mount source code directory | ||
VOLUME /source | ||
ENV WORKDIR /source | ||
WORKDIR $WORKDIR | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse | ||
# deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse | ||
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse | ||
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse | ||
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse | ||
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse | ||
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse | ||
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse | ||
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse | ||
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse |