Enviar arquivos para "/"

This commit is contained in:
2026-05-15 23:50:35 +00:00
commit 2bc09b2111
5 changed files with 226 additions and 0 deletions

43
Dockerfile Normal file
View File

@@ -0,0 +1,43 @@
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Dependências
RUN apt-get update && apt-get install -y \
qemu-system-x86 \
qemu-kvm \
qemu-utils \
libvirt-clients \
xvfb \
x11vnc \
openbox \
novnc \
websockify \
wget \
curl \
unzip \
supervisor \
net-tools \
socat \
&& rm -rf /var/lib/apt/lists/*
# Baixa Android-x86 (Android 9 com Google Play — melhor compatibilidade)
RUN mkdir -p /android && \
wget -q "https://sourceforge.net/projects/android-x86/files/Release%209.0/android-x86_64-9.0-r2.iso/download" \
-O /android/android-x86.iso
# Cria disco virtual de 8GB para o Android
RUN qemu-img create -f qcow2 /android/android.img 8G
# Scripts
COPY install.sh /install.sh
COPY start.sh /start.sh
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN chmod +x /install.sh /start.sh
# Instala o Android no disco virtual (roda uma vez no build)
RUN /install.sh
EXPOSE 6080 5555
CMD ["/start.sh"]