Open hitswa opened 1 year ago
@hitswa This repository is not maintained. You can use this one: https://github.com/obalunenko/docker-kafka-zookeeper . It already has pre-build images for all Kafka with zookeeper versions published on the official site https://kafka.apache.org/downloads
When I execute
docker build .
I get following errorSOLUTION: The error is because the package
gcompat
is not available in the Alpine Linux package repository you are using (Alpine 3.9.2).gcompat
was available in older Alpine versions but may not be available in Alpine 3.9.2, which is a relatively older version. You can either update your Docker image to use a newer version of Alpine Linux or modify your Dockerfile to use a different base image that includesgcompat
or doesn't require it.So just replace
FROM alpine:3.9.2
withFROM alpine:3.14
and done.