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

[Need information] Support horreum as a native container on s390x architecture #329

Closed
ShivangGoswami opened this issue Dec 9, 2022 · 4 comments

Comments

@ShivangGoswami
Copy link

ShivangGoswami commented Dec 9, 2022

quay.io/hyperfoil/horreum container throws error when executed in ibm z system

[root@XXXXX ~]# podman logs horreum_container_id
standard_init_linux.go:228: exec user process caused: exec format error
standard_init_linux.go:228: exec user process caused: exec format error

this is usually observed when there is different in architecture of docker image and underlying architecture.
I need to execute the quarkus app as a native container in s390x system.
attaching logs for native build for the project quay.io/hyperfoil/horreum

Please help me with the required information

@ShivangGoswami
Copy link
Author

quarkus build --native -Dquarkus.native.container-build=true
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Horreum                                                            [pom]
[INFO] Horreum Model                                                      [jar]
[INFO] Horreum Backend                                                    [jar]
[INFO] Horreum API Generator                                     [maven-plugin]
[INFO] Horreum REST API                                                   [jar]
[INFO] Horreum Client                                                     [jar]
[INFO] Horreum Integration Tests                                          [jar]
[INFO] 
[INFO] ---------------------< io.hyperfoil.tools:horreum >---------------------
[INFO] Building Horreum 0.5.1                                             [1/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-versions) @ horreum ---
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.21:check (animal-sniffer) @ horreum ---
[INFO] Signature checking is skipped.
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ horreum ---
[INFO] Installing /root/Horreum/pom.xml to /root/.m2/repository/io/hyperfoil/tools/horreum/0.5.1/horreum-0.5.1.pom
[INFO] 
[INFO] ------------------< io.hyperfoil.tools:horreum-model >------------------
[INFO] Building Horreum Model 0.5.1                                       [2/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-versions) @ horreum-model ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ horreum-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ horreum-model ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- smallrye-open-api-maven-plugin:2.1.22:generate-schema (default) @ horreum-model ---
Dec 12, 2022 1:32:20 PM io.smallrye.openapi.runtime.scanner.OpenApiDataObjectScanner process
WARN: SROAP04005: Could not find schema class in index: java.lang.Void
[INFO] Wrote the schema files to /root/Horreum/horreum-model/target/generated
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ horreum-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /root/Horreum/horreum-model/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ horreum-model ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ horreum-model ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ horreum-model ---
[INFO] 
[INFO] --- openapi-generator-maven-plugin:6.0.0:generate (default) @ horreum-model ---
[WARNING] There were issues with the specification, but validation has been explicitly disabled.
Errors: 
	-attribute paths.'/api/run/{id}'(get).responses.default.description is missing
	-attribute components.schemas.RunExtended.items is missing
	-attribute components.schemas.TableReportData.items is missing
	-attribute paths.'/api/schema/validate'(post).requestBody.content.'application/json'.schema.items is missing
	-attribute components.schemas.LabelValue.items is missing
	-attribute components.schemas.ViewComponent.items is missing
	-attribute components.schemas.LabelPreview.items is missing
	-attribute components.schemas.Dataset.items is missing
	-attribute components.schemas.DatasetSummary.items is missing
	-attribute components.schemas.Run.items is missing
	-attribute components.schemas.RunSummary.items is missing
	-attribute components.schemas.Variable.items is missing
	-attribute paths.'/api/run/data'(post).requestBody.content.'application/json'.schema.items is missing
	-attribute components.schemas.ReportComponent.items is missing
	-attribute components.schemas.Schema.items is missing
	-attribute components.schemas.ChangeDetection.items is missing
	-attribute components.schemas.MissingDataRule.items is missing
	-attribute components.schemas.TableReportConfig.items is missing

[INFO] Generating with dryRun=false
[INFO] OpenAPI Generator: typescript-fetch (client)
[INFO] Generator 'typescript-fetch' is considered stable.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[INFO] Inline schema created as Change_variable. To have complete control of the model name, set the `title` field or use the inlineSchemaNameMapping option (--inline-schema-name-mapping in CLI).
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[INFO] Inline schema created as LabelValue_schema. To have complete control of the model name, set the `title` field or use the inlineSchemaNameMapping option (--inline-schema-name-mapping in CLI).
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[INFO] Inline schema created as Query_range. To have complete control of the model name, set the `title` field or use the inlineSchemaNameMapping option (--inline-schema-name-mapping in CLI).
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[INFO] Inline schema created as Test_defaultView. To have complete control of the model name, set the `title` field or use the inlineSchemaNameMapping option (--inline-schema-name-mapping in CLI).
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[INFO] Hint: Environment variable 'TS_POST_PROCESS_FILE' (optional) not defined. E.g. to format the source code, please try 'export TS_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac)
[INFO] Note: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Schema 'null' is any type, which includes the 'null' value. 'nullable' cannot be set to 'false'
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[WARNING] Schema 'null' is any type, which includes the 'null' value. 'nullable' cannot be set to 'false'
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Access.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/AllTableReports.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/AllowedHookPrefix.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/AnnotationDefinition.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/AnnotationQuery.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/AnnotationsQuery.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Banner.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Change.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ChangeDetection.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ChangeDetectionComponent.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ChangeDetectionModelConfig.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ChangeVariable.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ComponentType.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DashboardInfo.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DatapointLastTimestamp.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DatapointRecalculationStatus.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Dataset.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DatasetInfo.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DatasetList.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DatasetLog.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DatasetSummary.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Extractor.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/FingerprintUpdate.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Hook.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/JsonpathValidation.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/KeycloakConfig.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Label.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelInFingerprint.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelInReport.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelInRule.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelInVariable.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelInView.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelInfo.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelLocation.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelPreview.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelValue.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelValueSchema.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LastDatapointsParams.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/MissingDataRule.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/NewUser.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/NotificationSettings.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/PanelInfo.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Query.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/QueryRange.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/QueryResult.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Range.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/RecalculationStatus.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ReportComment.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ReportComponent.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ReportLog.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Run.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/RunCount.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/RunExpectation.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/RunExtended.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/RunSummary.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/RunsSummary.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Schema.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/SchemaDescriptor.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/SortDirection.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TableReport.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TableReportConfig.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TableReportData.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TableReportSummary.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TableReportSummaryItem.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Target.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Test.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TestDefaultView.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TestListing.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TestSummary.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TestToken.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TimeseriesTarget.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TransformationLog.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Transformer.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TransformerInfo.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/UserData.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Variable.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/VersionInfo.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/View.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ViewComponent.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Watch.ts
[WARNING] Array (model name matches existing language type) cannot be used as a model name. Renamed to ModelArray
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Array (model name matches existing language type) cannot be used as a model name. Renamed to ModelArray
[WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/json)
[WARNING] Multiple MediaTypes found, using only the first one
[WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/json)
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/apis/DefaultApi.ts
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/index.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/runtime.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/apis/index.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/index.ts
[INFO] Skipped /root/Horreum/horreum-model/../webapp/src/generated/.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/.openapi-generator/VERSION
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/.openapi-generator/FILES
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project ?                 #
# https://opencollective.com/openapi_generator/donate                          #
################################################################################
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.21:check (animal-sniffer) @ horreum-model ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ horreum-model ---
[INFO] Installing /root/Horreum/horreum-model/target/horreum-model-0.5.1.jar to /root/.m2/repository/io/hyperfoil/tools/horreum-model/0.5.1/horreum-model-0.5.1.jar
[INFO] Installing /root/Horreum/horreum-model/pom.xml to /root/.m2/repository/io/hyperfoil/tools/horreum-model/0.5.1/horreum-model-0.5.1.pom
[INFO] 
[INFO] -----------------< io.hyperfoil.tools:horreum-backend >-----------------
[INFO] Building Horreum Backend 0.5.1                                     [3/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Horreum 0.5.1:
[INFO] 
[INFO] Horreum ............................................ SUCCESS [  0.466 s]
[INFO] Horreum Model ...................................... SUCCESS [  8.164 s]
[INFO] Horreum Backend .................................... FAILURE [  0.016 s]
[INFO] Horreum API Generator .............................. SKIPPED
[INFO] Horreum REST API ................................... SKIPPED
[INFO] Horreum Client ..................................... SKIPPED
[INFO] Horreum Integration Tests .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.801 s
[INFO] Finished at: 2022-12-12T13:32:24+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Could not find goal 'native-image' in plugin io.quarkus:quarkus-maven-plugin:2.9.2.Final among available goals add-extension, add-extensions, analyze-call-tree, build, create, create-extension, create-jbang, dependency-tree, dev, generate-code, generate-code-tests, go-offline, help, info, list-categories, list-extensions, list-platforms, prepare, prepare-tests, remote-dev, remove-extension, remove-extensions, test, update -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException

@ShivangGoswami ShivangGoswami changed the title [Need information] I need to deploy horreum container on s390x architecture [Need information] Support horreum as a native container on s390x architecture Dec 12, 2022
@jesperpedersen
Copy link
Collaborator

You need to work with the upstream https://github.com/graalvm and https://github.com/graalvm/mandrel communities to provide support for s390x.

Alternative, you can use a s390x base image and run Horreum in Java mode.

Please, use our Discussion forum (General) in the future before opening an issue.

@johnaohara
Copy link
Member

I am not certain that Horreum has been tested compiled as a native binary. If you are intent on compiling Horreum as a native binary, there are Multi-Arch build containers provided by Quarkus, which i believe support s390x: https://github.com/quarkusio/quarkus-images

As Jesper mentioned, since Horreum is a general Java application, a base image that contains Java for s390x should work without modification

I would also suggest building the latest stable Tag 0.6

@rvansa
Copy link
Member

rvansa commented Dec 12, 2022

I have never tried to use the native binary. There's no explicit Dockerfile, Horreum is built on top of image created https://github.com/Hyperfoil/Horreum/blob/29ca20723616b537d903955424dd06645ce9fa8f/horreum-backend/src/main/docker/Dockerfile.jvm.base using Quarkus built-in image building support:

quarkus.container-image.registry=quay.io
quarkus.container-image.group=hyperfoil
quarkus.container-image.name=horreum
quarkus.container-image.tag=dev
quarkus.container-image.build=true
quarkus.jib.base-jvm-image=quay.io/hyperfoil/horreum-base:latest
quarkus.jib.jvm-entrypoint=/deployments/horreum.sh

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

4 participants