Closed mshadbolt closed 2 years ago
I was just attempting to run this locally following the instructions but kept getting the error:
=> ERROR [stage-1 2/3] COPY --from=BUILD usr/local/lib/python3.8/ usr/local/lib/python3.8/ 0.0s ------ > [stage-1 2/3] COPY --from=BUILD usr/local/lib/python3.8/ usr/local/lib/python3.8/: ------ failed to compute cache key: "/usr/local/lib/python3.8" not found: not found ERROR: Service 'cega-users' failed to build : Build failed
Until I changed the python version in the snippet below to 3.10 instead of 3.8
3.10
3.8
https://github.com/EGA-archive/LocalEGA/blob/9f3142589844e3e5354e1925322d0f6473c63c9c/deploy/bootstrap/cega-users/Dockerfile#L20
After changing it, it built and started successfully.
I assume this is because the build env python version needs to be the same so it can copy properly? But all new to me so wasn't sure if I should do a PR.
Cheers Marion
Good catch, thanks! Fixed in commit #ecd7d36
I was just attempting to run this locally following the instructions but kept getting the error:
Until I changed the python version in the snippet below to
3.10
instead of3.8
https://github.com/EGA-archive/LocalEGA/blob/9f3142589844e3e5354e1925322d0f6473c63c9c/deploy/bootstrap/cega-users/Dockerfile#L20
After changing it, it built and started successfully.
I assume this is because the build env python version needs to be the same so it can copy properly? But all new to me so wasn't sure if I should do a PR.
Cheers Marion