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

[INLONG-4673][Docker] Support for building Docker images for the ARM architecture #4675

Merged
merged 3 commits into from
Jul 1, 2022

Conversation

lucaspeng12138
Copy link
Contributor

@lucaspeng12138 lucaspeng12138 commented Jun 16, 2022

Prepare a Pull Request

[INLONG-4673][Feature] Add arm docker images build script

Motivation

Add arm docker images build script to make inlong can build aarch docker images.

Modifications

  1. Add arm docker images build script.
    Because mvn-docker-plugin is not support on aarch env. So I add a script to operate as mvn-docker-plugin.

  2. Add ArmDockerfiles to make dependences suit aarch.
    Tubemq module has gcc and g++ compile operation. On aarch env, need cross compile.

  3. Change pom.xml to make it compile successfully on aarch.
    Need change version to suit aarch env.

  4. Add docker-compose-arm.yml
    Mysql has no docker images for aarch, so may need user to build first. So Pulsar does.

@lucaspeng12138 lucaspeng12138 marked this pull request as draft June 16, 2022 04:44
@healchow healchow changed the title [INLONG-4673][Feature] Add arm docker images build script [INLONG-4673][Docker] Support for building Docker images for the ARM architecture Jun 16, 2022
@GanfengTan
Copy link
Contributor

Docker issue distribution/distribution#1281 , the same image name has been implemented to pull different CPU architecture images according to the environment.

The user normally does not need to perceive the difference between the images.

@dockerzhang dockerzhang marked this pull request as ready for review June 30, 2022 11:56
@dockerzhang dockerzhang merged commit 8729ccb into apache:master Jul 1, 2022
vernedeng pushed a commit to vernedeng/incubator-inlong that referenced this pull request Jul 4, 2022
@lucaspeng12138 lucaspeng12138 deleted the dev-lucas-armdocker branch July 19, 2022 09:10
bruceneenhl pushed a commit to bruceneenhl/inlong that referenced this pull request Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature][Docker] Support for building Docker images for the ARM architecture
5 participants