fas / totp-provision: we need the templates.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-08-01 21:24:20 +00:00 committed by Pierre-Yves Chibon
parent 12cfb732eb
commit 524278ee3f

View file

@ -31,6 +31,11 @@ spec:
RUN chmod -R o+rx /var/www/totpcgi*
RUN mkdir -p /etc/totpcgi/templates
RUN curl https://infrastructure.fedoraproject.org/cgit/ansible.git/plain/roles/totpcgi/files/html/error.html -o /etc/totpcgi/templates/error.html
RUN curl https://infrastructure.fedoraproject.org/cgit/ansible.git/plain/roles/totpcgi/files/html/error.html -o /etc/totpcgi/templates/login.html
RUN curl https://infrastructure.fedoraproject.org/cgit/ansible.git/plain/roles/totpcgi/files/html/error.html -o /etc/totpcgi/templates/totp.html
EXPOSE 8080
ENTRYPOINT bash /etc/totpcgi/start.sh
type: Dockerfile