Adding a script to capture the variable
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 1s
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 1s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
This commit is contained in:
parent
68abc5d549
commit
991c51f411
14
Dockerfile
14
Dockerfile
@ -6,14 +6,6 @@ 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
|
||||
|
||||
|
||||
COPY runner.sh /runner.sh
|
||||
RUN chmod +x /runner.sh
|
||||
ENTRYPOINT ["/runner.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user