Skip to content

Commit

Permalink
add permission Xauthority
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-helmy committed May 2, 2024
1 parent 8d7c64f commit c942de4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,14 @@ COPY emulator-configuration/skins /opt/android-sdk-linux/skins
COPY emulator-configuration/emulator /home/emuhub/emulator
RUN chmod -R +x /home/emuhub/emulator
RUN chmod -R +777 /home/emuhub/.config
RUN chmod +777 /home/emuhub/.Xauthority
COPY ./user-configuration/Desktop /home/emuhub/Desktop

# Update Android SDK
RUN /opt/android-sdk-linux/cmdline-tools/tools/bin/sdkmanager --update && \
/opt/android-sdk-linux/cmdline-tools/tools/bin/sdkmanager --install "system-images;android-34;google_apis_playstore;x86_64" && \
/opt/android-sdk-linux/cmdline-tools/tools/bin/sdkmanager --install "system-images;android-34;google-tv;x86" && \
/opt/android-sdk-linux/cmdline-tools/tools/bin/sdkmanager --install "system-images;android-33;android-wear;x86_64"
# RUN /opt/android-sdk-linux/cmdline-tools/tools/bin/sdkmanager --update && \
# /opt/android-sdk-linux/cmdline-tools/tools/bin/sdkmanager --install "system-images;android-34;google_apis_playstore;x86_64" && \
# /opt/android-sdk-linux/cmdline-tools/tools/bin/sdkmanager --install "system-images;android-34;google-tv;x86" && \
# /opt/android-sdk-linux/cmdline-tools/tools/bin/sdkmanager --install "system-images;android-33;android-wear;x86_64"


RUN apt-get install -y \
Expand Down

0 comments on commit c942de4

Please sign in to comment.