Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

Add support for Apple M1 as development platform. #431

Merged
merged 8 commits into from
Jul 24, 2021

Conversation

gillesmag
Copy link
Collaborator

@gillesmag gillesmag commented Jul 23, 2021

Currently, running docker-compose up -d --build does not work as the base images used for the backend as well as the required frontend dependencies are too outdated to support development on an Apple M1-based computer.

This pull request contains the necessary changes to allow running all containers required to run the application.

In addition, the frontend dependencies are all updated to their latest version except for the Stripe API (see #401).

RUN apt-get update && apt-get install -y yarn
#RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
#RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
#RUN apt-get update && apt-get install -y yarn
Copy link
Member

Choose a reason for hiding this comment

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

Don't comment out code. If it's no longer needed, delete it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I removed it. Sorry about that, I forgot to remove those lines while I was trying to get everything working.

@gillesmag gillesmag merged commit a93c9e8 into master Jul 24, 2021
@gillesmag gillesmag deleted the maintenance/frontend branch July 24, 2021 17:12
gillesmag added a commit that referenced this pull request Jul 25, 2021
* Update backend base container images and frontend dependencies to support development on Apple M1

* Update remaining dependencies (except Stripe API)

* Upgrade backend

* Remove useless comment in Dockerfile

* Update test job to latest docker as well

* Upgrade mailchimp (no longer suited for DI)

* Specify build node version for Netlify

Co-authored-by: Gilles Magalhaes <[email protected]>
Co-authored-by: Tim Stokman <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants