Skip to content

Commit

Permalink
Removed source 1810
Browse files Browse the repository at this point in the history
  • Loading branch information
budtmo committed Apr 15, 2020
1 parent a38691b commit 83dcca4
Show file tree
Hide file tree
Showing 6 changed files with 765 additions and 30 deletions.
9 changes: 4 additions & 5 deletions docker/Emulator_x86
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]>"

Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down
9 changes: 4 additions & 5 deletions docker/Genymotion
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]>"

Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down
22 changes: 4 additions & 18 deletions docker/Real_device
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]>"

Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions docker/configs/sources1810.list

This file was deleted.

Binary file added images/logo_dockerandroid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 83dcca4

Please sign in to comment.