mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
don't set the default docker platform. that was always a mistake 🤦
This commit is contained in:
parent
c18a8c2f5e
commit
3c3c6281a4
2 changed files with 4 additions and 3 deletions
3
.bashrc
3
.bashrc
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue