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

Added Dockerfile apk add command #17

Merged
merged 2 commits into from
Aug 29, 2023
Merged

Added Dockerfile apk add command #17

merged 2 commits into from
Aug 29, 2023

Conversation

shindigira
Copy link
Contributor

@shindigira shindigira commented Aug 29, 2023

Closes #16

Added Dockerfile.mac_chip with apk add command that adds several dependencies

NOTICE: This is for users with a Mac using an Apple chip.

Added Dockerfile apk add command that adds several dependencies
Dockerfile Outdated
Comment on lines 5 to 8
RUN apk add --update --no-cache --virtual .tmp-build-deps \
gcc libc-dev linux-headers postgresql-dev \
&& apk add libffi-dev

Copy link
Collaborator

Choose a reason for hiding this comment

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

figured out this is only an issue for the Apple chips, not relevant for other platforms; create a different Dockerfile specific for Apple chips.

Changes:

- [chore] Reverted the Dockerfile to the original version
- [feat] Created a 'Dockerfile.mac_chip' for Mac users with an Apple chip
Copy link
Collaborator

@lchen-2101 lchen-2101 left a comment

Choose a reason for hiding this comment

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

LGTM

@lchen-2101 lchen-2101 merged commit 3e653cc into main Aug 29, 2023
@lchen-2101 lchen-2101 deleted the Fix/16_docker_gcc_fix branch August 29, 2023 16:32
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.

Dockerfile issue -- GCC error
2 participants