# Do not edit! This file was generated via Makefile
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest

# NOTE(chmou): We use dollar here so that envsubst don't get confused and expand
# our local PATH.
ENV HOME=/ko-app PATH=DOLLAR{HOME}:DOLLAR{PATH}
RUN yum install --disableplugin=subscription-manager -y git openssh-clients

COPY ${bin} DOLLAR{HOME}/${bin}.orig
COPY uidwrapper DOLLAR{HOME}/${bin}

RUN chgrp -R 0 DOLLAR{HOME} && \
    chmod -R g=u DOLLAR{HOME} /etc/passwd

ENTRYPOINT ["/ko-app/${bin}"]

# Local Variables:
# mode: dockerfile
# End:
