Initial commit
This commit is contained in:
commit
ccd9f0ddd0
1 changed files with 995 additions and 0 deletions
26
Dockerfile
Normal file
26
Dockerfile
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
FROM node:lts-bookworm-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
openjdk-17-jdk-headless \
|
||||
wget \
|
||||
unzip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN wget -q https://dl.google.com/android/repository/platform-tools-latest-linux.zip \
|
||||
-O /tmp/platform-tools.zip \
|
||||
&& mkdir -p /opt/android-sdk \
|
||||
&& unzip -q /tmp/platform-tools.zip -d /opt/android-sdk \
|
||||
&& rm /tmp/platform-tools.zip
|
||||
|
||||
ENV ANDROID_HOME=/opt/android-sdk
|
||||
ENV PATH=$PATH:$ANDROID_HOME/platform-tools
|
||||
|
||||
RUN npm install -g appium@latest \
|
||||
&& appium driver install uiautomator2
|
||||
|
||||
EXPOSE 4723
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Loading…
Reference in a new issue