We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to build a Docker image to connect Intercom to BigQuery. My Dockerfile is as follows:
FROM python:3 RUN apt-get update # Configs COPY ./configs /configs RUN git clone https://github.com/singer-io/tap-intercom RUN pip install virtualenv RUN virtualenv -p python /virtualenvs/intercom RUN /bin/bash -c "source /virtualenvs/intercom/bin/activate && python /tap-intercom/setup.py install && deactivate" RUN /virtualenvs/intercom/bin/tap-intercom --config /configs/intercom-config.json --catalog /configs/intercom-catalog.json > /configs/state.json ENTRYPOINT /bin/bash
After running docker build --tag singer . it fails with this traceback:
docker build --tag singer .
=> ERROR [8/8] RUN /virtualenvs/intercom/bin/tap-intercom --config /configs/intercom-config.json --catalog /conf 0.5s ------ > [8/8] RUN /virtualenvs/intercom/bin/tap-intercom --config /configs/intercom-config.json --catalog /configs/intercom-catalog.json > /configs/state.json: #12 0.431 Traceback (most recent call last): #12 0.431 File "/virtualenvs/intercom/bin/tap-intercom", line 33, in <module> #12 0.431 sys.exit(load_entry_point('tap-intercom==1.1.3', 'console_scripts', 'tap-intercom')()) #12 0.431 File "/virtualenvs/intercom/bin/tap-intercom", line 25, in importlib_load_entry_point #12 0.431 return next(matches).load() #12 0.431 File "/usr/local/lib/python3.9/importlib/metadata.py", line 77, in load #12 0.431 module = import_module(match.group('module')) #12 0.431 File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module #12 0.431 return _bootstrap._gcd_import(name[level:], package, level) #12 0.432 File "<frozen importlib._bootstrap>", line 1030, in _gcd_import #12 0.432 File "<frozen importlib._bootstrap>", line 1007, in _find_and_load #12 0.432 File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked #12 0.432 ModuleNotFoundError: No module named 'tap_intercom' ------ executor failed running [/bin/sh -c /virtualenvs/intercom/bin/tap-intercom --config /configs/intercom-config.json --catalog /configs/intercom-catalog.json > /configs/state.json]: exit code: 1
I've tried different python versions and it didn't help. What might be the reason for this behavior?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to build a Docker image to connect Intercom to BigQuery. My Dockerfile is as follows:
After running
docker build --tag singer .
it fails with this traceback:
I've tried different python versions and it didn't help. What might be the reason for this behavior?
The text was updated successfully, but these errors were encountered: