Skip to content

Commit

Permalink
fix ucrm plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico640 committed Dec 15, 2019
1 parent 36e1f5b commit 8035e63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ RUN chmod +x /entrypoint.sh /refresh-certificate.sh /refresh-configuration.sh /i
&& sed -i "s#execute('/refresh-certificate.sh#execute('sudo --preserve-env /refresh-certificate.sh#g" /templates/conf.d/nginx-api.conf.template \
&& grep -lR "location /nms/ " /templates | xargs sed -i "s#location /nms/ #location /nms #g" \
&& grep -lR "location /crm/ " /templates | xargs sed -i "s#location /crm/ #location /crm #g" \
&& sed -i "s#\\\.\[0-9]{1,3}#[0-9]#g" /refresh-certificate.sh \
&& sed -i "s#\\\.\[0-9]{1,3}#[0-9]#g" /refresh-certificate.sh

# make compatible with debian
RUN sed -i "s#/bin/sh#/bin/bash#g" /entrypoint.sh \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.armhf
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ RUN chmod +x /entrypoint.sh /refresh-certificate.sh /refresh-configuration.sh /i
&& sed -i "s#execute('/refresh-certificate.sh#execute('sudo --preserve-env /refresh-certificate.sh#g" /templates/conf.d/nginx-api.conf.template \
&& grep -lR "location /nms/ " /templates | xargs sed -i "s#location /nms/ #location /nms #g" \
&& grep -lR "location /crm/ " /templates | xargs sed -i "s#location /crm/ #location /crm #g" \
&& sed -i "s#\\\.\[0-9]{1,3}#[0-9]#g" /refresh-certificate.sh \
&& sed -i "s#\\\.\[0-9]{1,3}#[0-9]#g" /refresh-certificate.sh

# make compatible with debian
RUN sed -i "s#/bin/sh#/bin/bash#g" /entrypoint.sh \
Expand Down

0 comments on commit 8035e63

Please sign in to comment.