Skip to content

Commit ac6c657

Browse files
committed
Merge branch 'embedded-screenshots' of https://github.com/eficode/JavaFXLibrary
2 parents 0a29c42 + 86f8cab commit ac6c657

File tree

3 files changed

+3
-17
lines changed

3 files changed

+3
-17
lines changed

AUTHORS.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ Pasi Saikkonen 2017 -
55

66
Other contributors:
77
Tatu Lahtela Find All With Pseudo Class and Find Class keywords
8-
Sakari Hoisko Dockerized linux env with X
8+
Sakari Hoisko Dockerized linux env with X
9+
Juho Lehtonen Optimized docker environment.

docker-compose.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ services:
55
build:
66
context: ./docker/robot-javafx-demo
77
ports:
8-
#- '5900:5900'
98
- '80:80'
109
volumes:
1110
- './src/test/robotframework/:/robot'
1211
- screen-thing:/tmp/.X11-unix
13-
- './src/:/src' # ScreenCapturingTest.robot require this.
1412
- javafxbinaryshare:/javafxbinary
1513
networks:
1614
- testapp
@@ -25,8 +23,7 @@ services:
2523
networks:
2624
- testapp
2725
volumes:
28-
- './src/test/robotframework/:/robot' # Screen capures are saved to here "hack until remote usage copy photos to results folder"
29-
- './src/:/src' # ScreenCapturingTest.robot require this.
26+
- './src/test/robotframework/:/robot' # Required for executing tests from robot-framework container
3027
- screen-thing:/tmp/.X11-unix
3128
- javafxbinaryshare:/javafxbinary
3229
environment:

docker/robot-javafx-demo/Dockerfile

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,12 @@ FROM dorowu/ubuntu-desktop-lxde-vnc
33
ENV DEBIAN_FRONTEND noninteractive
44

55
RUN apt-get -qq update && apt-get dist-upgrade -y && apt-get install -qq --no-install-recommends --allow-unauthenticated -y \
6-
dbus \
76
openssh-client \
8-
x11vnc \
9-
xvfb \
10-
bash \
117
xterm \
12-
fluxbox \
138
python-pip \
149
git \
15-
nano \
1610
python-setuptools \
1711
wget \
18-
xvfb \
19-
xorg \
2012
openjdk-8-jre \
2113
openjfx \
2214
&& apt-get clean && rm -rf /var/lib/apt/lists/*
@@ -25,10 +17,6 @@ COPY test.sh /bin/test.sh
2517
RUN pip install --no-cache-dir \
2618
robotframework && chmod 555 /bin/test.sh
2719

28-
# JUST VNC
29-
#COPY entrypoint.sh /entrypoint.sh
30-
#RUN mkdir ~/.vnc && x11vnc -storepasswd 1234 ~/.vnc/passwd && chmod 555 /entrypoint.sh /bin/test.sh
31-
#ENTRYPOINT ["x11vnc", "-create", "-forever", "-env", "FD_PROG=/entrypoint.sh", "-env", "X11VNC_CREATE_GEOM=${1:-1024x768x16}", "-usepw"]
3220

3321
EXPOSE 5900 80
3422
ENTRYPOINT ["/startup.sh"]

0 commit comments

Comments
 (0)