Skip to content

Commit 257caea

Browse files
authored
Merge pull request #24 from binary-sequence-dockerized-apps/update_dockerfile
Update dockerfile
2 parents 89389b9 + 7af3a9d commit 257caea

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

webui/Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM opensuse:tumbleweed
2-
LABEL maintainer Sergio Lindo Mansilla <slindomansilla@suse.com>
3-
LABEL version="2017-12-11"
1+
FROM opensuse/tumbleweed
2+
LABEL maintainer Sergio Lindo <sergiolindo.empresa@gmail.com>
3+
LABEL version="2018-09-06"
44

55
RUN zypper --gpg-auto-import-keys ref
66
RUN zypper --non-interactive install --force-resolution apache2
@@ -31,11 +31,13 @@ USER root
3131
ADD client.conf /etc/openqa/
3232
ADD database.ini /etc/openqa
3333
ADD openqa.ini /etc/openqa/
34-
ADD rsyncd.conf /etc/
3534

3635
# This script starts the necessary services.
3736
ADD run_openqa.sh /root/
3837
RUN chmod +x /root/run_openqa.sh
3938

40-
EXPOSE 80 443 873
39+
EXPOSE 80 443
40+
VOLUME [ "/var/lib/openqa/factory/" ]
41+
VOLUME [ "/var/lib/openqa/testresults/" ]
42+
VOLUME [ "/var/lib/pgsql/data/" ]
4143
CMD ["/root/run_openqa.sh"]

webui/run_openqa.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ rm -f /run/dbus/pid
88
# run services
99
dbus-daemon --system --fork
1010
start_daemon -u postgres /usr/share/postgresql/postgresql-script start &
11-
start_daemon -u root /usr/sbin/rsyncd --daemon --no-detach &
1211
start_daemon -u geekotest /usr/share/openqa/script/openqa-resource-allocator &
1312
start_daemon -u geekotest /usr/share/openqa/script/openqa-scheduler &
1413
start_daemon -u geekotest /usr/share/openqa/script/openqa-websockets &

0 commit comments

Comments
 (0)