I’m trying to run the bigquery streamloader on GCP’s appengine service for which im trying to create a custom docker image.
When i run the jar file on my local system the bigquery streamloader runs fine, command for the same: java -jar snowplow-bigquery-streamloader-1.0.1.jar --config $(cat config.hocon | base64 -w 0) --resolver $(cat resolver.json | base64 -w 0)
But when i run the same command as docker, i get the following issue:
Hi @siv, I think what’s going on here is that docker’s CMD does not support command substitutions like $(cat config.hocon | base64 -w 0) in the dockerfile. To get this working, you would have to literally copy the entire base64-encoded config into your CMD:
The recommended way to run the bigquery loader is using the provided docker image and providing configuration at run time, rather than building a custom image and providing configuration at build time. People using the recommended method won’t have the problem you’re facing here.