Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group 22 modifications #35

Open
wants to merge 1 commit into
base: ensf400_w24
Choose a base branch
from

Conversation

Fraserwill03
Copy link

added homebrew installation to dockerfile and added homebrew feature to devcontainer

@growlf growlf self-assigned this Feb 25, 2024
Copy link
Owner

@growlf growlf left a comment

Choose a reason for hiding this comment

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

Allow for non-Mac users.

@@ -34,7 +34,8 @@
"installTools": true,
"version": "3.11"
},
"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {}
"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {},
"ghcr.io/meaningful-ooo/devcontainer-features/homebrew:2": {}
Copy link
Owner

Choose a reason for hiding this comment

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

This is an interesting addition!

Copy link
Owner

Choose a reason for hiding this comment

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

This might add some useful compatibility for people on Macs.

RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Add homebrew to the path
ENV PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:$PATH"
Copy link
Owner

Choose a reason for hiding this comment

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

This assumes the user has this folder in their host environment. Perhaps, move this mount action to the docker-compose.yml where it can be selectively run when selecting which service to bring up.

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.

2 participants