bc-docker-action/Dockerfile
Alex Lau (AvengerMoJo) 991c51f411
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 1s
Adding a script to capture the variable
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-10-23 12:05:24 +08:00

12 lines
237 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 runner.sh /runner.sh
RUN chmod +x /runner.sh
ENTRYPOINT ["/runner.sh"]