/canal-docker

yet another alibaba canal tool in alpine, less size of the deployer&adapter together

Primary LanguageDockerfileApache License 2.0Apache-2.0

alibaba/canal in docker

Dockerfile based on openjdk:8-jdk-alpine

Build

command

docker build --tag thenorthmemory/canal:latest-alpine .

optional arguments

  • --build-arg GIT_SOURCE_REPO=https://github.com/alibaba/canal.git
  • --build-arg GIT_SOURCE_BRANCH=master

Usage

version

docker run --rm thenorthmemory/canal:latest-alpine version

help

docker run --rm thenorthmemory/canal:latest-alpine help

canal-deployer

docker run --rm -w /alibaba/canal-deployer thenorthmemory/canal:latest-alpine deployer

canal-adapter

docker run --rm -w /alibaba/canal-adapter thenorthmemory/canal:latest-alpine adapter

License

Apache License Version 2.0