⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
openQA Project (public)
All Projects
QA (public)
»
openQA Project (public)
Overview
Activity
Roadmap
Issues
Wiki
Download (1.13 KB)
action #56810
» Dockerfile
andriinikitin
, 2019-09-11 15:41
FROM
opensuse/leap:15.1
RUN
zypper ar
-f
-p
80 https://download.opensuse.org/repositories/devel:/openQA:/Leap:/15.1/openSUSE_Leap_15.1 openQA
RUN
zypper ar
-f
-p
81 http://download.opensuse.org/repositories/devel:openQA/openSUSE_Leap_15.1 devel
RUN
zypper
--gpg-auto-import-keys
ref
RUN
zypper
-n
install
openQA-devel
RUN
zypper
-n
install
chromedriver
ENV
NORMAL_USER squamata
ENV
USER squamata
RUN
echo
"
$NORMAL_USER
ALL=(ALL) NOPASSWD: ALL"
>>
/etc/sudoers
RUN
mkdir
-p
/home/
$NORMAL_USER
RUN
useradd
-r
-d
/home/
$NORMAL_USER
-g
users
--uid
=
1000
$NORMAL_USER
RUN
chown
$NORMAL_USER
:users /home/
$NORMAL_USER
RUN
mkdir
-p
/opt/testing_area
RUN
chown
-R
$NORMAL_USER
:users /opt/testing_area
ENTRYPOINT
["/bin/bash"]
WORKDIR
/opt/testing_area
USER
squamata
RUN
git clone https://github.com/os-autoinst/openQA
RUN
git clone https://github.com/os-autoinst/os-autoinst
WORKDIR
/opt/testing_area/os-autoinst
RUN
autoreconf
-f
-i
&&
./configure
&&
make
WORKDIR
/opt/testing_area/openQA
RUN
eval
"
$(
t/test_postgresql |
grep
TEST_PG
=
)
"
&&
PERL5LIB
=
lib prove
-v
t/ui/25-developer_mode.t |
tee
test.log
||
:
RUN
grep
-C100
'stale element reference'
test.log
« Previous
1
2
Next »
(2-2/2)
Loading...