Skip to content

Conversation

@Niraj-Kamdar
Copy link
Contributor

Changelog

  • feat: docker image uses alpine linux as base image
  • fix: VM build strategy now uses image with appropriate architecture to build the wrapper

dOrgJelli
dOrgJelli previously approved these changes Jan 18, 2023
Copy link
Contributor

@dOrgJelli dOrgJelli left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@krisbitney krisbitney left a comment

Choose a reason for hiding this comment

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

I still get this:
Screenshot 2023-01-18 at 4 10 14 PM

cbrzn
cbrzn previously approved these changes Jan 18, 2023
Copy link
Contributor

@cbrzn cbrzn left a comment

Choose a reason for hiding this comment

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

edit: Niraj fixed the latest version in docker so we good :-)

@Niraj-Kamdar
Copy link
Contributor Author

I still get this: Screenshot 2023-01-18 at 4 10 14 PM

Turned out this was the issue on @krisbitney side so all good

@dOrgJelli dOrgJelli merged commit 0df764f into origin-dev Jan 18, 2023
# Install curl
RUN apt-get update
RUN apt-get -y install curl clang llvm build-essential
RUN apk add curl build-base pkgconfig openssl-dev bash
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey @Niraj-Kamdar, apologies for not asking about this before, but why are we now installing build-base, pkgconfig, openssl-dev and base?

Also I should have caught this before, but for rust builds we require clang, llvm and build-essentials to build & link native C libs.

Copy link
Contributor

Choose a reason for hiding this comment

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

One answer I found is that build-base is the alpine equivalent of build-essentials.

@@ -1,13 +1,12 @@
FROM rust:1.65.0 as base
FROM rust:1.66-alpine as base
Copy link
Contributor

Choose a reason for hiding this comment

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

Also what is the reasoning for moving to alpine?

@dOrgJelli dOrgJelli deleted the nk/docker-arm-fix branch April 10, 2023 16:59
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.

vm build strategy not working on mac m1

5 participants