don't set the default docker platform. that was always a mistake 🤦

This commit is contained in:
Jesse Hitch 2023-06-05 19:16:44 +02:00
parent c18a8c2f5e
commit 3c3c6281a4
2 changed files with 4 additions and 3 deletions

View file

@ -20,9 +20,6 @@ export HOWDOI_COLORIZE=1
# makes gpg prompt for passphrase in the terminal for git commit -S
export GPG_TTY=$(tty)
# use linux/amd64 platform by default on macOS - may break KinD!
export DOCKER_DEFAULT_PLATFORM=linux/amd64
# source all the pathing exports including XDG Base Dir Spec env vars
. ~/.config/bash/path.sh

View file

@ -55,6 +55,10 @@ if [[ $(uname) == *"Darwin"* ]]; then
if [ $(uname -a | grep arm > /dev/null ; echo $?) -eq 0 ]; then
# On apple silicon: brew default installs here
export PATH=/opt/homebrew/bin:$PATH
# use linux/amd64 platform by default on macOS - may break KinD!
# export DOCKER_DEFAULT_PLATFORM=linux/amd64
else
if [ ! -f "/usr/local/bin/python" ]; then
# this will link python3.11 to python which will fix poetry issues