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

Fix image construction problem #99

Merged
merged 1 commit into from
Jan 23, 2024
Merged

Fix image construction problem #99

merged 1 commit into from
Jan 23, 2024

Conversation

nutjob4life
Copy link
Member

🗒️ Summary

Merge this to fix a problem with building of Docker images.

For details, see build at https://github.com/NASA-PDS/registry-sweepers/actions/runs/7549106501/job/20786456869 … the issue being that the new psutil dependency requires the dev environment at build time.

⚙️ Test Data and/or Report

$ mirasol 296 % docker image build --file ./docker/Dockerfile .
[+] Building 0.0s (10/10) FINISHED                                                               docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                             0.0s
 => => transferring dockerfile: 2.64kB                                                                           0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 202B                                                                                0.0s
 => [internal] load metadata for docker.io/library/python:3.9-slim-bullseye                                      0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 2.94kB                                                                              0.0s
 => [1/5] FROM docker.io/library/python:3.9-slim-bullseye                                                        0.0s
 => CACHED [2/5] COPY . /tmp/registry-sweepers                                                                   0.0s
 => CACHED [3/5] RUN apt-get update --quiet &&     apt-get upgrade --quiet --yes &&     apt-get install --quiet  0.0s
 => CACHED [4/5] RUN pip install /tmp/registry-sweepers  && cp /tmp/registry-sweepers/docker/sweepers_driver.py  0.0s
 => CACHED [5/5] RUN apt-get autoremove &&     apt-get remove --quiet --yes gcc python3-dev &&     rm --force -  0.0s
 => exporting to image                                                                                           0.0s
 => => exporting layers                                                                                          0.0s
 => => writing image sha256:e201433ec7055f4c5e5e39baeffd0a9ee671201ab0d05f164bd402ad9896407d                     0.0s

♻️ Related Issues

N/A

@alexdunnjpl
Copy link
Contributor

alexdunnjpl commented Jan 23, 2024

Fixes build error introduced in #93

Copy link
Contributor

@alexdunnjpl alexdunnjpl left a comment

Choose a reason for hiding this comment

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

ye

@nutjob4life nutjob4life merged commit 6be4673 into main Jan 23, 2024
2 checks passed
@nutjob4life nutjob4life deleted the python-docker-dev branch January 23, 2024 19:28
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