forked from Project-Aloha/mu_aloha_platforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (19 loc) · 909 Bytes
/
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
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list \
&& sed -i 's/security.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
RUN apt update -y && \
apt upgrade -y && \
apt -y install uuid-dev clang llvm gcc-aarch64-linux-gnu lld \
python3-venv pip git build-essential nuget build-essential \
iasl nasm python3.10 python3-distutils python3-git python3-pip \
gettext locales gnupg ca-certificates python3-venv git git-core curl mono-devel
# ENV CLANGPDB_BIN /usr/lib/llvm-38/bin/
# ENV CLANGPDB_AARCH64_PREFIX aarch64-linux-gnu-
RUN rm -rf /var/lib/apt/lists/* \
&& locale-gen en_US.UTF-8
ENV LANG en_US.utf8
WORKDIR /build
COPY . .
RUN pip install --upgrade -r pip-requirements.txt && git config --global --add safe.directory '*'
CMD ["/bin/bash"]