-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
41 lines (36 loc) · 1.2 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM ubuntu:focal
LABEL maintainer="Thagoo <[email protected]>"
ENV \
DEBIAN_FRONTEND=noninteractive \
LANG=C.UTF-8 \
JAVA_OPTS=" -Xmx3840m " \
JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk-amd64 \
PATH=~/bin:/usr/local/bin:/home/builder/bin:$PATH
RUN sed 's/main$/main universe/' /etc/apt/sources.list 1>/dev/null
RUN apt-get update \
&& apt-get -y -q upgrade \
&& apt-get -y -q install \
bc \
binutils-arm-linux-gnueabihf \
build-essential \
ccache \
git \
libncurses-dev \
libssl-dev \
u-boot-tools \
wget \
xz-utils \
python \
python3 \
python3-pip \
curl \
zip \
flex \
bison \
bc
RUN pip3 install datetime telethon python-dotenv GitPython
RUN git config --global user.name "Thagoo"
RUN git config --global user.email "[email protected]"
RUN git config --global http.sslVerify false
RUN git clone https://github.com/kdrag0n/proton-clang -b master --depth 1 --single-branch -q /tmp/proton
RUN rm -rf /tmp/proton/.git