-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (26 loc) · 767 Bytes
/
Dockerfile
File metadata and controls
31 lines (26 loc) · 767 Bytes
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
26
27
28
29
30
31
FROM reactivecircus/android-sdk-24:latest
# Install packages
RUN apt-get -qqy update && \
apt-get -qqy --no-install-recommends install libc++1 \
curl ca-certificates && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Open ADB port
EXPOSE 5555
EXPOSE 5556
# Open Firebase emulator ports
EXPOSE 9099
EXPOSE 8080
# Install system images
ENV ARCH=x86 \
TARGET=google_apis \
EMULATOR_API_LEVEL=24
# API 24 system image
RUN sdkmanager --install "system-images;android-${EMULATOR_API_LEVEL};${TARGET};${ARCH}" \
"platforms;android-${EMULATOR_API_LEVEL}" \
"emulator"
# Install Firebase Emulators
RUN apt-get update && \
apt-get -y install sudo
RUN curl -sL https://firebase.tools | bash
RUN firebase --version