<@U088WCP3B4P> Iwant to add an adapter in the elem...
# ask-elementary-ai
d
@kapa.ai Iwant to add an adapter in the elementary docker image, how can I manage that ?
k
A message from kapa.ai
Elementary provides a Docker image that includes the
edr
command and database adapters with their dependencies. Based on the knowledge sources, there are a few approaches you could take to add an adapter to the Elementary Docker image: 1. Use the official Elementary Docker image as a base: You can pull the official Elementary Docker image from [GitHub Packages](https://github.com/elementary-data/elementary/pkgs/container/elementary) and extend it with your custom adapter. 2. Create a custom Dockerfile: Similar to what one community member shared, you could create a slim Dockerfile that installs Elementary and your specific adapter:
Copy code
FROM python:3.8-slim    RUN pip install elementary-data 'elementary-data[your-adapter]'    ENTRYPOINT ["edr"]    CMD ["--help"]
3. Contribute to Elementary: If you're looking to add support for a new adapter that isn't currently supported, Elementary welcomes contributions. The team typically prioritizes integrations based on community demand, and they're happy to provide guidance for contributors. It's worth noting that Elementary currently supports specific adapters (Snowflake, BigQuery, Redshift, Databricks, etc.) and not all adapters are officially supported. For example, SQL Server and Greenplum are mentioned in the knowledge sources as not currently supported. If you're interested in adding support for a new adapter, you might want to check if there's an existing GitHub issue for it or open a new one to discuss with the Elementary team. Would you like more specific guidance on any of these approaches?