Skip to content

Commit

Permalink
Fix full target
Browse files Browse the repository at this point in the history
  • Loading branch information
guimard committed Feb 19, 2024
1 parent c5c604a commit ad148a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN echo auth-to-authn-by-jwt-manager.patch && patch -p1 < auth-to-authn-by-jwt-
echo patch anssi.patch && patch -p1 < anssi.patch && \
echo patch oidc-auth-pkce.patch && patch -p1 < oidc-auth-pkce.patch && \
rm -f *.patch && \
LLNG_DEFAULTCONFFILE=/etc/lemonldap-ng/lemonldap-ng \
perl -MLemonldap::NG::Manager::Build -e 'Lemonldap::NG::Manager::Build->run( \
structFile => "/usr/share/lemonldap-ng/manager/htdocs/static/struct.json", \
confTreeFile => "/usr/share/lemonldap-ng/manager/htdocs/static/js/conftree.js", \
Expand All @@ -34,6 +35,8 @@ RUN echo auth-to-authn-by-jwt-manager.patch && patch -p1 < auth-to-authn-by-jwt-
portalConstantsFile => "/dev/null", \
docConstantsFile => "/dev/null", \
)' && \
perl -i -pe 's#^(use constant DEFAULTCONFFILE).*$#$1 => "/etc/lemonldap-ng/lemonldap-ng.ini";# && print STDERR "OK\n"' \
/usr/share/perl5/Lemonldap/NG/Common/Conf/Constants.pm && \
rm -f /usr/share/lemonldap-ng/manager/htdocs/static/js/conftree.min.js && \
ln -s conftree.js /usr/share/lemonldap-ng/manager/htdocs/static/js/conftree.min.js

Expand Down

0 comments on commit ad148a2

Please sign in to comment.