bc-docker-action/Dockerfile
Alex Lau (AvengerMoJo) 511ca74741
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 0s
Adding Dockerfile action.yml and obs-service to test custom docker
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-10-20 11:38:39 +08:00

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