You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "88fingerslukee (via GitHub)" <gi...@apache.org> on 2023/02/15 22:12:09 UTC
[GitHub] [superset] 88fingerslukee opened a new issue, #23090: How to make LDAP packages install at build time
88fingerslukee opened a new issue, #23090:
URL: https://github.com/apache/superset/issues/23090
I'm trying to make python-ldap install at build time for the docker container. I can't figure out where to put the `apt-get `and `pip ` commands in the Dockerfile to get it to work.
Can somebody please help?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] Rohit-pawar902 commented on issue #23090: How to make LDAP packages install at build time
Posted by "Rohit-pawar902 (via GitHub)" <gi...@apache.org>.
Rohit-pawar902 commented on issue #23090:
URL: https://github.com/apache/superset/issues/23090#issuecomment-1432581275
I did a thing to automate it
For apt-get to run I have created a bash file custom_install.sh and write those statements
```
apt-get update
apt-get install python-dev libldap2-dev libsasl2-dev libssl-dev -y
pip install python-ldap
pip install pymssql
```
And I have linked above bash file inside **docker-bootstarp.sh** so that on restart all unavailable dependency will download automatically
set -eo pipefail
```
REQUIREMENTS_LOCAL="/app/docker/requirements-local.txt"
#Edits to rohit
**bash /app/docker/custom_install.sh**
# If Cypress run – overwrite the password for admin and export env variables
```
I think with this you are good to go
And the reason for not using recommended requirement-dev is that it is only used for download of pip statements
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] 88fingerslukee commented on issue #23090: How to make LDAP packages install at build time
Posted by "88fingerslukee (via GitHub)" <gi...@apache.org>.
88fingerslukee commented on issue #23090:
URL: https://github.com/apache/superset/issues/23090#issuecomment-1433634007
Oh my god that's it! Thank you!!!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] 88fingerslukee closed issue #23090: How to make LDAP packages install at build time
Posted by "88fingerslukee (via GitHub)" <gi...@apache.org>.
88fingerslukee closed issue #23090: How to make LDAP packages install at build time
URL: https://github.com/apache/superset/issues/23090
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org