18 lines
412 B
Docker
18 lines
412 B
Docker
|
FROM opensuse/tumbleweed:latest
|
||
|
|
||
|
USER 0
|
||
|
|
||
|
RUN zypper --non-interactive update
|
||
|
RUN zypper --non-interactive install osc
|
||
|
RUN zypper --non-interactive clean --all
|
||
|
|
||
|
# COPY hello.sh /hello.sh
|
||
|
# RUN chmod +x /hello.sh
|
||
|
# RUN mkdir -p rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
|
||
|
|
||
|
ENTRYPOINT echo $osc-user $osc-path $osc-package
|
||
|
RUN osc checkout $osc-path $osc-package
|
||
|
RUN osc buildlog openSUSE_Factory x86_64
|
||
|
|
||
|
|