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

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested #107

Open
murugaratham opened this issue May 28, 2021 · 1 comment

Comments

@murugaratham
Copy link

I wanted to raise a PR to try support multiple cpu architecture, but it seems like i can't build locally

...

#32 187.4 + wget -O Katalon_Studio_Engine_Linux_64-.tar.gz https://download.katalon.com//Katalon_Studio_Engine_Linux_64-.tar.gz
#32 187.4 Install Katalon
#32 187.4 --2021-05-28 10:30:26--  https://download.katalon.com//Katalon_Studio_Engine_Linux_64-.tar.gz
#32 187.4 Resolving download.katalon.com (download.katalon.com)... 52.84.224.3, 52.84.224.16, 52.84.224.78, ...
#32 187.5 Connecting to download.katalon.com (download.katalon.com)|52.84.224.3|:443... connected.
#32 187.5 HTTP request sent, awaiting response... 403 Forbidden
#32 188.4 2021-05-28 10:30:27 ERROR 403: Forbidden.
#32 188.4 
------
Dockerfile:41
--------------------
  39 |     
  40 |     # Main setup
  41 | >>> RUN $KATALON_KATALON_SCRIPT_DIR/setup.sh
  42 |     
  43 |     COPY ./src/scripts/katalon-execute.sh katalon-execute.sh
--------------------
error: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c $KATALON_KATALON_SCRIPT_DIR/setup.sh]: exit code: 8

Update /build/build.sh to

docker buildx build --platform linux/amd64,linux/arm64 \-t katalon-katalon -f src/Dockerfile --build-arg KATALON_STUDIO_VERSION=$ksversion .
@murugaratham
Copy link
Author

murugaratham commented May 28, 2021

Motivation:

Opening project file: /tmp/project/<redacted>.prj
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (sharedRuntime.cpp:537), pid=90, tid=0x00000041588be700
#  Error: ShouldNotReachHere()
#
# JRE version: OpenJDK Runtime Environment (8.0_292-b10) (build 1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10)
# Java VM: OpenJDK 64-Bit Server VM (25.292-b10 mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# //hs_err_pid90.log
#
# If you would like to submit a bug report, please visit:
#   http:https://bugreport.java.com/bugreport/crash.jsp
#
qemu: uncaught target signal 6 (Aborted) - core dumped
+ ret_code=0
+ exit 0

I am unable to run katalon docker on apple silicon macs

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

1 participant