mirror of
https://github.com/HQarroum/docker-android.git
synced 2026-07-15 06:47:07 +02:00
fix: wipe/restart lost date (#3)
This commit is contained in:
+4
-2
@@ -44,7 +44,8 @@ ENV ANDROID_SDK_ROOT=/opt/android \
|
||||
ABI=${IMG_TYPE}/${ARCHITECTURE} \
|
||||
GPU_ACCELERATED=$GPU_ACCELERATED \
|
||||
QTWEBENGINE_DISABLE_SANDBOX=1 \
|
||||
ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL=10
|
||||
ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL=10 \
|
||||
ANDROID_AVD_HOME=/data
|
||||
|
||||
# Exporting environment variables for keeping in the path
|
||||
# Android SDK binaries and shared libraries.
|
||||
@@ -62,7 +63,8 @@ EXPOSE 5554 5555
|
||||
|
||||
# Initializing the required directories.
|
||||
RUN mkdir /root/.android/ && \
|
||||
touch /root/.android/repositories.cfg
|
||||
touch /root/.android/repositories.cfg && \
|
||||
mkdir /data
|
||||
|
||||
# Exporting ADB keys.
|
||||
#COPY keys/* /root/.android/
|
||||
|
||||
Reference in New Issue
Block a user