Hello :wave: I have these plugins in meltano.yml f...
# troubleshooting
b
Hello 👋 I have these plugins in meltano.yml file
Copy code
plugins:
  extractors:
  - name: tap-mysql
    variant: transferwise
    pip_url: git+<https://github.com/B2tGame/pipelinewise-tap-mysql-ONMO.git@master>
  - name: tap-mysql-cms
    inherit_from: tap-mysql
  - name: tap-mysql-b2c
    inherit_from: tap-mysql
  loaders:
  - name: target-snowflake
    variant: meltanolabs
    pip_url: meltanolabs-target-snowflake==0.4.2
  - name: target-s3-csv
    variant: transferwise
    pip_url: git+<https://github.com/transferwise/pipelinewise-target-s3-csv.git>
and getting an error when building a docker image (did not have it before): ```[+] Building 7.7s (10/10) FINISHED docker:desktop-linux => [internal] load .dockerignore 0.0s => => transferring context: 193B 0.0s => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 534B 0.0s => [internal] load metadata for docker.io/meltano/meltano:latest 0.4s => [1/6] FROM docker.io/meltano/meltano:latest@sha256:354662e708fe899f6138349a3a4eccdedb9bbb7bfc128e1d006f407ec2a4fe63 0.0s => [internal] load build context 0.0s => => transferring context: 777B 0.0s => CACHED [2/6] WORKDIR /project 0.0s => CACHED [3/6] COPY ./requirements.txt . 0.0s => CACHED [4/6] RUN pip install -r requirements.txt 0.0s => CACHED [5/6] COPY . . 0.0s => ERROR [6/6] RUN meltano install 7.2s ------ > [6/6] RUN meltano install: 5.703 Loader 'target-snowflake' is not known to Meltano. Try running
meltano lock --update --all
to ensure your plugins are up to date. ------ Do…
s
How about run the lock command before the install command e.g.
Copy code
# Install required Meltano Components based on the meltano.yml file
RUN meltano lock --update --all
RUN meltano install; \
    if [ $? -gt 0 ]; then echo "One or more meltano plugins not installed - exiting"; exit 1; fi;
	
# Lock in the config to avoid discovery breaking installed plugins
RUN meltano lock --all