mirror of https://github.com/rancher/gitjob.git
11 lines
290 B
Docker
11 lines
290 B
Docker
FROM registry.suse.com/bci/bci-base:15.5.36.11.3
|
|
RUN zypper -n update && \
|
|
zypper -n install openssh catatonit git && \
|
|
zypper -n clean -a
|
|
RUN useradd -u 1000 -U -m gitjob
|
|
COPY bin/gitjob /usr/bin/
|
|
COPY bin/gitcloner /usr/bin
|
|
USER 1000
|
|
ENTRYPOINT ["catatonit", "--"]
|
|
CMD ["gitjob"]
|