RADAR-base / RADAR-REST-Connector

A Kafka Source connector to receive data from REST APIs and publish them to Kafka. It has an extended version to support FitBit APIs.
https://radar-base.org/
Apache License 2.0
4 stars 4 forks source link

Fix Dockerfile permissions #93

Closed yatharthranjan closed 2 years ago

yatharthranjan commented 2 years ago

Currently, we copy our modified launcher in the Dockerfile

# Load modified launcher
COPY ./docker/launch /etc/confluent/docker/launch

But in the latest confluent base images the default user is appuser and not root, so we need to change the permissions of the copied files so they can be access by the appuser.

Here is the difference in permissions - In our image -rwxrwxr-x 1 root root 2440 Jun 1 14:32 /etc/confluent/docker/launch In confluent base image -rwxr-xr-x 1 appuser appuser 2.1K Aug 13 2021 /etc/confluent/docker/launch

This probably happened when we upgraded to 6.2.x as in 5.2.x the default user is root in base image.

yatharthranjan commented 2 years ago

Closed by #94