Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 0s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
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
|
|
|
|
|