Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac M1 docker error building base with Spotify microdef returned a non-zero code: 1 #457

Open
dhinojosa opened this issue May 20, 2022 · 1 comment

Comments

@dhinojosa
Copy link

dhinojosa commented May 20, 2022

I am trying to build some personal M1 images for myself, and I performed a maven build inside of the base directory with tag 7.1.1 (bd600b37) using the following command

$ mvn clean package -e -Pdocker -DskipTests -Ddocker.registry=dhinojosa/ -DCONFLUENT_VERSION=7.1.1

I receive during that build a failure with the following stack trace

Caused by: com.spotify.docker.client.exceptions.DockerException: The command '/bin/sh -c microdnf
 --nodocs install yum    
&& rpm --import https://www.azul.com/files/0xB1998361219BD9C9.txt     
&& yum --nodocs -y install https://cdn.azul.com/zulu/bin/zulu-repo-1.0.0-1.noarch.rpm     
&& yum --nodocs install -y --setopt=install_weak_deps=False         
git  "openssl${OPENSSL_VERSION}"  "wget${WGET_VERSION}"    
"nmap-ncat${NETCAT_VERSION}"         
"python36${PYTHON36_VERSION}"         
"tar${TAR_VERSION}"  "procps-ng${PROCPS_VERSION}"       
"krb5-workstation${KRB5_WORKSTATION_VERSION}"   "iputils${IPUTILS_VERSION}"         
"hostname${HOSTNAME_VERSION}"         
"zulu11-ca-jdk-headless${ZULU_OPENJDK_VERSION}" 
"zulu11-ca-jre-headless${ZULU_OPENJDK_VERSION}"    
 && alternatives --set python /usr/bin/python3     
&& python3 -m pip install --upgrade "pip${PYTHON_PIP_VERSION}" 
"setuptools${PYTHON_SETUPTOOLS_VERSION}"     
&& python3 -m pip install --prefer-binary --prefix=/usr/local --upgrade "${PYTHON_CONFLUENT_DOCKER_UTILS_INSTALL_SPEC}"    
&& yum remove -y git     
&& yum --nodocs update -y tzdata libgcc libstdc++ cyrus-sasl-lib     
&& yum clean all     
&& rm -rf /tmp/*     && mkdir -p /etc/confluent/docker /usr/logs     
&& useradd --no-log-init --create-home --shell /bin/bash appuser    
&& chown appuser:appuser -R /etc/confluent/ /usr/logs' returned a non-zero code: 1
@anuragagarwal561994
Copy link

anuragagarwal561994 commented Jul 27, 2022

@dhinojosa you might want to try out https://github.com/arm64-compat/confluent-platform in the meantime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants