Project

General

Profile

action #56564 » Dockerfile

andriinikitin, 2019-09-07 11:25

 
FROM opensuse/leap:15.1
# Define environment variable
ENV NAME Docker and hub
ENV LANG en_US.UTF-8

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 ar -f http://download.opensuse.org/repositories/devel:languages:perl/openSUSE_Leap_15.1 devel-perl

RUN zypper --gpg-auto-import-keys ref
# RUN zypper -n install perl-DBD-SQLite
RUN zypper -n install openQA-devel

RUN git clone --depth 1 --single-branch https://github.com/os-autoinst/openQA
RUN cd openQA && eval $(t/test_postgresql | grep TEST_PG=) && FULLSTACK=1 script/run-tests-within-container

(4-4/4)