Title: Removing CWD causes warnings in subsequent commands · Issue #514 · docker-library/python · GitHub
Open Graph Title: Removing CWD causes warnings in subsequent commands · Issue #514 · docker-library/python
X Title: Removing CWD causes warnings in subsequent commands · Issue #514 · docker-library/python
Description: Hi, When removing /usr/src/python the current working directory is also the directory being removed. This causes subsequent commands to complain about not being able to locate the current working directory. python/3.8/buster/slim/Dockerf...
Open Graph Description: Hi, When removing /usr/src/python the current working directory is also the directory being removed. This causes subsequent commands to complain about not being able to locate the current working d...
X Description: Hi, When removing /usr/src/python the current working directory is also the directory being removed. This causes subsequent commands to complain about not being able to locate the current working d...
Opengraph URL: https://github.com/docker-library/python/issues/514
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Removing CWD causes warnings in subsequent commands","articleBody":"Hi,\r\n\r\nWhen removing `/usr/src/python` the current working directory is also the directory being removed. This causes subsequent commands to complain about not being able to locate the current working directory.\r\n\r\nhttps://github.com/docker-library/python/blob/6e9789038db7717724bc89adaaf13a86882512db/3.8/buster/slim/Dockerfile#L75-L76\r\n\r\nAs a potential fix, changing the current working directory to / would prevent these warnings : \r\n```bash\r\n&& make install \\\r\n&& cd / \\\r\n&& rm -rf /usr/src/python \\\r\n```\r\n\r\nI guess this is mostly a cosmetic change but I'm not sure if the warnings could cause problems with the commands after.\r\n","author":{"url":"https://github.com/aureq","@type":"Person","name":"aureq"},"datePublished":"2020-09-06T03:10:57Z","url":"https://github.com/docker-library/python/issues/514"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6e3c771d-1aef-60fd-c102-0270cc3fd8c0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAEA:3C4BAF:3D5527:552494:6AFE9E1A |
| html-safe-nonce | 9d890adaa0eed75db767e2af937589a9fe55c71610ee0e7f25b5535c8ef75cd7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUVBOjNDNEJBRjozRDU1Mjc6NTUyNDk0OjZBRkU5RTFBIiwidmlzaXRvcl9pZCI6IjgyOTIzNzI0MDM3MzYxNjE1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 58ddde9a605fd0bd4c217139f54dca0938f22cf76690c1dbf236704401f5cd78 |
| hovercard-subject-tag | issue:694234132 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docker-library/python/514/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e8f8c378c9478522f8970513bc24a1e7311fb41e9055e674e1b8a12ac8849707/docker-library/python/issues/514 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e8f8c378c9478522f8970513bc24a1e7311fb41e9055e674e1b8a12ac8849707/docker-library/python/issues/514 |
| og:image:alt | Hi, When removing /usr/src/python the current working directory is also the directory being removed. This causes subsequent commands to complain about not being able to locate the current working d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aureq |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/docker-library/python git https://github.com/docker-library/python.git |
| octolytics-dimension-user_id | 7739233 |
| octolytics-dimension-user_login | docker-library |
| octolytics-dimension-repository_id | 21054928 |
| octolytics-dimension-repository_nwo | docker-library/python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21054928 |
| octolytics-dimension-repository_network_root_nwo | docker-library/python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width