We finished the implementation of using DynamoDB a...
# contributing-to-airbyte
y
We finished the implementation of using DynamoDB as the destination. We are curious how to build the docker on the local machine, which has the GUI for the new added DynamoDB that can use to test
u
@Yiqing Wang assuming you followed the instructions in the README.md to build the docker image, you can add it to the GUI by following these instructions: https://docs.airbyte.io/integrations/custom-connectors#adding-your-connectors-in-the-ui
y
(instead of “admin” section you would go to settings --> destinations, the rest should be the same)
u
Thank you Shrif, let me try it really quick. I assume I should use
VERSION=dev docker-compose up
instead just
docker-compose up
.
u
May I ask how the
destinationDefinitionId
in destination_definitions.yaml generated?
u
@s
u
VERSION=dev
controls the platform version not connector versions. You’d need to manually add it in the UI as described in the link
y
destinationDefinitionId
is generated by hand 🙂 it’s not a special value, just needs to be unique
u
ok, THANK YOU!
u
@Yiqing Wang did you build the image with tag 0.1.0?
u
if you do
docker images | grep dynamo
what do you see?
y
Copy code
airbyte/destination-dynamodb    dev            b3f9a341dd39   6 minutes ago   552MB
u
you should use the dev tag then not 0.1.0
u
The dockerfile is
Copy code
FROM airbyte/integration-base-java:dev

WORKDIR /airbyte
ENV APPLICATION destination-dynamodb

COPY build/distributions/${APPLICATION}*.tar ${APPLICATION}.tar

RUN tar xf ${APPLICATION}.tar --strip-components=1

LABEL io.airbyte.version=0.1.0
LABEL io.airbyte.name=airbyte/destination-dynamodb
u
Oh, I see. Let me try