bc-docker-action/Dockerfile

20 lines
516 B
Docker
Raw Normal View History

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
ENTRYPOINT echo $1 $2 $3
ENTRYPOINT echo $INPUT_OSC-USER $INPUT_OSC-PATH $INPUT_OSC-PACKAGE
RUN osc checkout $INPUT_OSC-PATH $INPUT_OSC-PACKAGE
RUN osc buildlog openSUSE_Factory x86_64