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

Improve docker image build #264

Merged
merged 4 commits into from
Jul 13, 2023
Merged

Improve docker image build #264

merged 4 commits into from
Jul 13, 2023

Conversation

raikbitters
Copy link
Contributor

Use a single Dockerfile instead of multiplying for development and release build.
Delete version as a value from gradle.properties. We change the service version as a build argument or flag.
Provide an option for defining the project.version by docker flag: --build-arg APP_VERSION={version}.
Delete useless Jenkins and Trevis files.


# For ARM build use flag: `--platform linux/arm64`
FROM --platform=$BUILDPLATFORM amazoncorretto:11.0.19
LABEL version=${APP_VERSION} description="EPAM Report portal. Main API Service" maintainer="Andrei Varabyeu <andrei_varabyeu@epam.com>, Hleb Kanonik <hleb_kanonik@epam.com>"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

edit description from Service API to Service UAT

@sonarcloud
Copy link

sonarcloud bot commented Jul 13, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@raikbitters raikbitters merged commit 9e7289b into develop Jul 13, 2023
5 checks passed
@raikbitters raikbitters deleted the feature/dockerfile branch July 13, 2023 11:41
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

Successfully merging this pull request may close these issues.

3 participants