Mac M1 Builds

01 Jul 2022 05:57

Setup Mac

  1. Get an M1 mac (via scaleway)
  2. Connect via VNC over SSH
  3. Install Docker Desktop

Setup Docker Hub account

  1. Log in to Docker Hub
  2. Generate access token. Copy to clipboard

Docker commands:

# Build:
$ docker buildx build --tag gabrys/elasticsearch:6.8 .
# Log in to Docker Hub:
$ security -v unlock-keychain ~/Library/Keychains/login.keychain-db
$ docker login -u gabrys
$ docker buildx create --use
# Build and push:
$ docker buildx build --platform linux/arm64/v8,linux/amd64 --push --tag gabrys/elasticsearch:6.8 .

Previous post: Closing svn2github


More posts on this topic

Comments

Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License