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

Build arm version of images #164

Merged
merged 3 commits into from
Feb 23, 2023
Merged

Conversation

jonathangreen
Copy link
Member

Description

We are building arm versions of our docker images for CM and VLC, we should probably build an arm version of the registry image as well for all our M1 users, as well as if we ever decide to try the AWS ARM images.

Motivation and Context

Similar to the changes in ThePalaceProject/virtual-library-card#232

How Has This Been Tested?

Running CI

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

&& apk add --no-cache --virtual .cert-deps openssl \
&& wget -O /tmp/nginx_signing.rsa.pub https://nginx.org/keys/nginx_signing.rsa.pub \
&& if [ "$(openssl rsa -pubin -in /tmp/nginx_signing.rsa.pub -text -noout | openssl sha512 -r)" = "$KEY_SHA512" ]; then \
&& if echo "$KEY_SHA512 */tmp/nginx_signing.rsa.pub" | sha512sum -c -; then \
Copy link
Member Author

Choose a reason for hiding this comment

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

These changes came directly from the upstream docker file:
https://github.com/nginxinc/docker-nginx/blob/master/mainline/alpine/Dockerfile

I needed to update the dependencies to get the arm version building.

@jonathangreen jonathangreen requested a review from a team February 22, 2023 14:57
Copy link
Contributor

@dbernstein dbernstein left a comment

Choose a reason for hiding this comment

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

LGTM

@jonathangreen jonathangreen merged commit 630bdf1 into main Feb 23, 2023
@jonathangreen jonathangreen deleted the feature/build-arm-container branch February 23, 2023 14:49
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