Closes autonomic-cooperative/gitea#4.
This commit is contained in:
parent
e9b5e709b0
commit
7c7969d56c
@ -17,6 +17,9 @@ RUN pip3 install --upgrade \
|
||||
|
||||
# Note(decentral1se): https://github.com/pixelb/crudini/issues/58
|
||||
RUN pip3 install --no-cache-dir \
|
||||
"git+http://github.com/pixelb/crudini.git@0.9.3#egg=crudini"
|
||||
"git+http://github.com/pixelb/crudini.git@0.9.3#egg=crudini" \
|
||||
|
||||
# Note(decentral1se): for RST rendering
|
||||
RUN pip3 install py3-docutils
|
||||
|
||||
ENTRYPOINT ["/sbin/entrypoint.sh"]
|
||||
|
@ -98,6 +98,11 @@ setup_app_ini() {
|
||||
crudini --set "$app_ini" mailer USER "${SMTP_USER}"
|
||||
crudini --set "$app_ini" mailer PASSWD "${SMTP_PASSWD}"
|
||||
crudini --set "$app_ini" mailer MAILER_TYPE "${SMTP_MAILER_TYPE}"
|
||||
|
||||
crudini --set "$app_ini" markup.restructuredtext ENABLED "true"
|
||||
crudini --set "$app_ini" markup.restructuredtext FILE_EXTENSIONS ".rst"
|
||||
crudini --set "$app_ini" markup.restructuredtext RENDER_COMMAND rst2html
|
||||
crudini --set "$app_ini" markup.restructuredtext IS_INPUT_FILE "false"
|
||||
}
|
||||
|
||||
# Main entrypoint
|
||||
|
Reference in New Issue
Block a user