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

Docker Containers are not Running on MacOS (M2 Chipset) #343

Open
wp99cp opened this issue May 5, 2024 · 0 comments
Open

Docker Containers are not Running on MacOS (M2 Chipset) #343

wp99cp opened this issue May 5, 2024 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@wp99cp
Copy link
Member

wp99cp commented May 5, 2024

The swiss_TLM_api/local-dev.Dockerfile container does not run on M2 Chips (probably an ARM-related issue); thanks, @johannschwabe, for bringing that up.

The proposed fix is:

RUN apt update \
&& apt -y install libspatialindex-dev curl gdal-bin libgdal-dev g++ \
&& rm -rf /var/lib/apt/lists/*

We should also fix this for the non-dev container but split the build of the latter into two stages, as I don't think we need g++ to run the application; rather, we need it only for building the image.

@wp99cp wp99cp added bug Something isn't working help wanted Extra attention is needed labels May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants