-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
765 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM appium/appium:1.16.0-p1 | ||
FROM appium/appium:1.16.0-p2 | ||
|
||
LABEL maintainer "Budi Utomo <[email protected]>" | ||
|
||
|
@@ -61,7 +61,6 @@ RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \ | |
# ubuntu-vm-builder | ||
# bridge-utils | ||
#================== | ||
ADD docker/configs/sources1810.list /etc/apt/sources.list.d/ | ||
ADD docker/configs/x11vnc.pref /etc/apt/preferences.d/ | ||
RUN apt-get -qqy update && apt-get -qqy install --no-install-recommends \ | ||
xterm \ | ||
|
@@ -167,10 +166,10 @@ ENV DISPLAY=:0 \ | |
# + Use a single virtual desktop to prevent accidentally switching | ||
# + Add background | ||
#================================================ | ||
ADD images/logo_dockerandroid_small.png /root/logo.png | ||
ADD images/logo_dockerandroid.png /root/logo.png | ||
ADD src/.fehbg /root/.fehbg | ||
RUN sed -i "s/<number>4<\/number>/<number>1<\/number>/g" /etc/xdg/openbox/rc.xml \ | ||
&& echo /root/.fehbg >> /etc/xdg/openbox/autostart | ||
ADD src/rc.xml /etc/xdg/openbox/rc.xml | ||
RUN echo /root/.fehbg >> /etc/xdg/openbox/autostart | ||
|
||
#=============== | ||
# Expose Ports | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM appium/appium:1.16.0-p1 | ||
FROM appium/appium:1.16.0-p2 | ||
|
||
LABEL maintainer "Budi Utomo <[email protected]>" | ||
|
||
|
@@ -65,7 +65,6 @@ RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \ | |
# jq | ||
# Sed for JSON data | ||
#================== | ||
ADD docker/configs/sources1810.list /etc/apt/sources.list.d/ | ||
ADD docker/configs/x11vnc.pref /etc/apt/preferences.d/ | ||
RUN apt-get -qqy update && apt-get -qqy install --no-install-recommends \ | ||
xterm \ | ||
|
@@ -132,10 +131,10 @@ ENV DISPLAY=:0 \ | |
# + Use a single virtual desktop to prevent accidentally switching | ||
# + Add background | ||
#================================================ | ||
ADD images/logo_dockerandroid_small.png /root/logo.png | ||
ADD images/logo_dockerandroid.png /root/logo.png | ||
ADD src/.fehbg /root/.fehbg | ||
RUN sed -i "s/<number>4<\/number>/<number>1<\/number>/g" /etc/xdg/openbox/rc.xml \ | ||
&& echo /root/.fehbg >> /etc/xdg/openbox/autostart | ||
ADD src/rc.xml /etc/xdg/openbox/rc.xml | ||
RUN echo /root/.fehbg >> /etc/xdg/openbox/autostart | ||
|
||
#============ | ||
# Set Locale | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM appium/appium:1.16.0-p1 | ||
FROM appium/appium:1.16.0-p2 | ||
|
||
LABEL maintainer "Budi Utomo <[email protected]>" | ||
|
||
|
@@ -54,7 +54,6 @@ RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \ | |
# jq | ||
# Sed for JSON data | ||
#================== | ||
ADD docker/configs/sources1810.list /etc/apt/sources.list.d/ | ||
ADD docker/configs/x11vnc.pref /etc/apt/preferences.d/ | ||
RUN apt-get -qqy update && apt-get -qqy install --no-install-recommends \ | ||
xterm \ | ||
|
@@ -100,19 +99,6 @@ RUN cd scrcpy/scrcpy-${SCRCPY_VER} && meson x --buildtype release --strip -Db_lt | |
RUN cd scrcpy/scrcpy-${SCRCPY_VER}/x && ninja && ninja install | ||
RUN rm -rf scrcpy/ | ||
|
||
|
||
#=========== | ||
# Polyverse | ||
# https://polyverse.io/how-it-works/ | ||
#=========== | ||
ARG TOKEN=xxx | ||
|
||
RUN curl -s https://sh.polyverse.io | sh -s install ${TOKEN}; \ | ||
if [ $? -eq 0 ]; then \ | ||
apt -y update && \ | ||
apt-get -y install --reinstall $(dpkg --get-selections | awk '{print $1}'); \ | ||
fi | ||
|
||
#======= | ||
# noVNC | ||
# Use same commit id that docker-selenium uses | ||
|
@@ -158,10 +144,10 @@ ENV DISPLAY=:0 \ | |
# + Use a single virtual desktop to prevent accidentally switching | ||
# + Add background | ||
#================================================ | ||
ADD images/logo_dockerandroid_small.png /root/logo.png | ||
ADD images/logo_dockerandroid.png /root/logo.png | ||
ADD src/.fehbg /root/.fehbg | ||
RUN sed -i "s/<number>4<\/number>/<number>1<\/number>/g" /etc/xdg/openbox/rc.xml \ | ||
&& echo /root/.fehbg >> /etc/xdg/openbox/autostart | ||
ADD src/rc.xml /etc/xdg/openbox/rc.xml | ||
RUN echo /root/.fehbg >> /etc/xdg/openbox/autostart | ||
|
||
#========================= | ||
# Set default variables | ||
|
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.