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

Release 7.0.3 #163

Closed
wants to merge 9 commits into from
Closed

Release 7.0.3 #163

wants to merge 9 commits into from

Conversation

antonioarenzanapulido
Copy link
Contributor

@antonioarenzanapulido antonioarenzanapulido commented Dec 16, 2021

Description of the Change

Packer as uploader of images has been removed for a playbook to take charge of that.

The playbook creates an image, raises a container executes the role on that container and then if everything is okey pushes the image to DockerHub

Benefits

Possible Drawbacks

Applicable Issues

#160

name: "jdk"
hostname: "jdk"
image: "idealista/jdk:{{ docker_tag }}"
privileged: true
Copy link
Collaborator

Choose a reason for hiding this comment

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

I didn't realize before, but we shouldn't use privileged: true

docker_image:
name: "idealista/jdk:{{ docker_tag }}"
source: build
build:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe we also want to build the images for arm64, so we0ll need to specify the "platform" parameter in here.
ansible-collections/community.docker#54

Yo may need to iterate the values "linux" and "arm64" to generate the image for different platforms.

docker_image:
name: "idealista/jdk:{{ docker_tag }}"
source: build
build:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe we also want to build the images for arm64, so we0ll need to specify the "platform" parameter in here.
ansible-collections/community.docker#54

Yo may need the complete playbook to iterate the values "linux" and "arm64" to generate the image for different platforms.

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.

2 participants