confluentinc / cp-docker-images

[DEPRECATED] Docker images for Confluent Platform.
Apache License 2.0
1.14k stars 704 forks source link

Unable to add connectors to latest ubi8 connect image #843

Closed kaungst closed 4 years ago

kaungst commented 4 years ago

./Dockerfile

FROM confluentinc/cp-kafka-connect-base:5.4.1-2-ubi8 AS base

RUN confluent-hub install --no-prompt debezium/debezium-connector-postgresql:latest

build output

Sending build context to Docker daemon  2.048kB
Step 1/2 : FROM confluentinc/cp-kafka-connect-base:5.4.1-2-ubi8 AS base
 ---> 8b5c476aac15
Step 2/2 : RUN confluent-hub install --no-prompt debezium/debezium-connector-postgresql:latest
 ---> Running in d5903a9237a0
Running in a "--no-prompt" mode
Implicit acceptance of the license below:
Apache 2.0
https://github.com/debezium/debezium/blob/master/LICENSE.txt
Implicit confirmation of the question: You are about to install 'debezium-connector-postgresql' from Debezium Community, as published on Confluent Hub.
Downloading component Debezium PostgreSQL CDC Connector 1.1.0, provided by Debezium Community from Confluent Hub and installing into /usr/share/confluent-hub-components
/usr/share/confluent-hub-components
/usr/share/confluent-hub-components
Unable to create directory

Error: Error while reading from/writing to filesystem
The command '/bin/sh -c confluent-hub install --no-prompt debezium/debezium-connector-postgresql:latest' returned a non-zero code: 4