File Dockerfile of Package container-hugo

#!BuildTag: opensuse-hugo
#!BuildTag: hugo
FROM opensuse/leap:15.2

RUN zypper ar http://download.opensuse.org/repositories/devel:languages:go/openSUSE_Leap_15.2/ "devel:languages:go"
RUN zypper ar http://download.opensuse.org/repositories/home:darix:apps/openSUSE_Leap_15.2/ "home:darix:apps"
RUN zypper mr -p 97 "home:darix:apps"
RUN zypper mr -p 98 "devel:languages:go"
RUN zypper --gpg-auto-import-keys ref

RUN zypper install -y hugo nodejs12 npm12 yarn rsync openssh

RUN groupadd --gid 64536 -r hugo && useradd --uid 64536 --no-log-init -r -g hugo hugo
RUN install -o hugo -g hugo -D -d /home/hugo ; install -o hugo -g hugo -D -d /home/hugo/bin

USER hugo:hugo
WORKDIR /home/hugo
CMD ["/usr/bin/hugo"]