Today (2022.04.21) creation of Docker images broke
I have Dockerfile:
FROM azul/zulu-openjdk:17.0.2-17.32.13-jre
# Configure the JAVA_OPTIONS, you can add -XshowSettings:vm to also display the heap size.
ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom -Duser.timezone=Europe/Chisinau"
ENV TZ="Europe/Chisinau"
RUN useradd --uid 1000 --no-log-init --system quarkus
# We make four distinct layers so if there are application changes the library layers can be re-used
COPY --chown=1000 ./quarkus-app/lib/ /app/lib/
COPY --chown=1000 ./quarkus-app/*.jar /app/
COPY --chown=1000 ./quarkus-app/app/ /app/app/
COPY --chown=1000 ./quarkus-app/quarkus/ /app/quarkus/
EXPOSE 8443
USER 1000
ENTRYPOINT ["java", "-jar", "/app/quarkus-run.jar"]
and today, starting from lunch, when generating an image, I began to receive an error:
Running: [/bin/sh -c useradd --uid 1000 --no-log-init --system quarkus]
error building image: error building stage: failed to execute command: starting command: fork/exec /bin/sh: exec format error
Please sign in to leave a comment.
Hello!
Thank you for reaching out to us!
Could you please provide a bit more details about your case by filing a support request https://jb.gg/space-support:
Margarita Kolotilova
JetBrains
http://www.jetbrains.com
The Drive to Develop
Hello!
Thanks for help!
I recently created ticket in YouTrack with details:
https://youtrack.jetbrains.com/issue/SPACE-17148/creation-of-Docker-images-broke
Tail from job log (build quarkus app with gradle):
That's great! Thank you.
We'll be in the YT ticket with more questions/details soon.
Margarita Kolotilova
JetBrains
http://www.jetbrains.com
The Drive to Develop