initial import
This commit is contained in:
commit
2a1ce0a06b
3 changed files with 11048 additions and 0 deletions
5
.dockerignore
Normal file
5
.dockerignore
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
**/.playwright/
|
||||
**/bin/
|
||||
**/obj/
|
||||
.git/
|
||||
.vs/
|
||||
47
Dockerfile
Normal file
47
Dockerfile
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
FROM debian:12-slim
|
||||
|
||||
# Éviter les invites interactives pendant l'installation
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV ANDROID_HOME=/opt/android-sdk
|
||||
ENV PATH=${PATH}:${ANDROID_HOME}/build-tools/36.0.0:${ANDROID_HOME}/cmdline-tools/latest/bin
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
wget \
|
||||
curl \
|
||||
gnupg \
|
||||
unzip
|
||||
|
||||
# Installation de SDK Android
|
||||
RUN mkdir -p ${ANDROID_HOME}
|
||||
RUN wget -O sdk-tools.zip https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip
|
||||
RUN unzip sdk-tools.zip -d ${ANDROID_HOME}
|
||||
RUN rm sdk-tools.zip
|
||||
|
||||
# Installation des autres dépendances
|
||||
|
||||
RUN curl -fSsL -A "Mozilla/5.0" https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg \
|
||||
&& echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft-prod.gpg] https://packages.microsoft.com/debian/12/prod bookworm main" > /etc/apt/sources.list.d/microsoft-prod.list \
|
||||
&& apt-get update && apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
openjdk-17-jdk-headless \
|
||||
libstdc++6 \
|
||||
make \
|
||||
po-debconf \
|
||||
zlib1g \
|
||||
dotnet-sdk-10.0
|
||||
|
||||
|
||||
# 4. Acceptation des licences Android et installation des composants de base
|
||||
# Modifiez les versions des plateformes selon les besoins de Yavsc
|
||||
RUN yes | sdkmanager --licenses \
|
||||
&& sdkmanager "platform-tools" "platforms;android-36" "build-tools;36.0.0"
|
||||
|
||||
# 5. Installation du workload .NET Android
|
||||
RUN dotnet workload install android --skip-manifest-update
|
||||
|
||||
# Définition du répertoire de travail par défaut
|
||||
WORKDIR /src
|
||||
|
||||
CMD ["bash"]
|
||||
|
||||
10996
repository2-2.xml
Normal file
10996
repository2-2.xml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue