You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "linghengqian (via GitHub)" <gi...@apache.org> on 2024/10/15 13:30:57 UTC

[I] Change the Base Docker Image of ShardingSphere Proxy Native from `oraclelinux:9-slim` to `container-registry.oracle.com/os/oraclelinux:9-slim` [shardingsphere]

linghengqian opened a new issue, #33263:
URL: https://github.com/apache/shardingsphere/issues/33263

   ## Feature Request
   
   **For English only**, other languages will not be accepted.
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response anymore and we cannot make decision by current information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Is your feature request related to a problem?
   
   - See https://github.com/apache/shardingsphere/actions/runs/11331122221/job/31510450951 .
   
   ### Describe the feature you would like.
   
   - Originally, the reason why I used Oracle Linux as the Base Docker Image in ShardingSphere Proxy Native was very simple. Oracle Linux 7 is actually the development environment for all GraalVM CE contributors. Every contributor who compiles GraalVM CE will notice the content in https://github.com/oracle/graal/blob/master/.devcontainer/Dockerfile .
   - But according to https://github.com/apache/shardingsphere/actions/runs/11331122221/job/31510450951 , it seems that it is easy to trigger the rate limit of Docker Hub now.
   ```shell
   [INFO] --- exec:3.1.0:exec (build and push docker image) @ shardingsphere-proxy-native-distribution ---
   #0 building with "shardingsphere-builder" instance using docker-container driver
   
   #1 [internal] booting buildkit
   #1 pulling image moby/buildkit:buildx-stable-1
   #1 pulling image moby/buildkit:buildx-stable-1 2.9s done
   #1 creating container buildx_buildkit_shardingsphere-builder0
   #1 creating container buildx_buildkit_shardingsphere-builder0 0.3s done
   #1 DONE 3.2s
   
   #2 [internal] load build definition from Dockerfile
   #2 transferring dockerfile: 1.16kB done
   #2 DONE 0.0s
   
   #3 [auth] library/oraclelinux:pull token for registry-1.docker.io
   #3 DONE 0.0s
   
   #4 [linux/arm64 internal] load metadata for docker.io/library/oraclelinux:9-slim
   #4 ERROR: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/oraclelinux/manifests/sha256:0eb8e1dc0a6144a15926f483a8a0f7c91fc7689fc3a101e348c497a9dbf3488e: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
   
   #5 [linux/amd64 internal] load metadata for docker.io/library/oraclelinux:9-slim
   #5 CANCELED
   ------
    > [linux/arm64 internal] load metadata for docker.io/library/oraclelinux:9-slim:
   ------
   Dockerfile:17
   --------------------
     15 |     # limitations under the License.
     16 |     #
     17 | >>> FROM oraclelinux:9-slim
     18 |     LABEL org.opencontainers.image.authors="ShardingSphere dev@shardingsphere.apache.org"
     19 |     ENV LOCAL_PATH=/opt/shardingsphere-proxy-native-bin
   --------------------
   ERROR: failed to solve: oraclelinux:9-slim: failed to resolve source metadata for docker.io/library/oraclelinux:9-slim: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/oraclelinux/manifests/sha256:0eb8e1dc0a6144a15926f483a8a0f7c91fc7689fc3a101e348c497a9dbf3488e: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
   ```
   - It may be a better choice to migrate to https://container-registry.oracle.com/ords/ocr/ba/os/oraclelinux which does not have rate limit. This is documented at https://yum.oracle.com/oracle-linux-downloads.html .
   - This is the proposal of the current issue, changing the base Docker Image of ShardingSphere Proxy Native from `oraclelinux:9-slim` to `container-registry.oracle.com/os/oraclelinux:9-slim`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Change the Base Docker Image of ShardingSphere Proxy Native from `oraclelinux:9-slim` to `container-registry.oracle.com/os/oraclelinux:9-slim` [shardingsphere]

Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu closed issue #33263: Change the Base Docker Image of ShardingSphere Proxy Native from `oraclelinux:9-slim` to `container-registry.oracle.com/os/oraclelinux:9-slim`
URL: https://github.com/apache/shardingsphere/issues/33263


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Change the Base Docker Image of ShardingSphere Proxy Native from `oraclelinux:9-slim` to `container-registry.oracle.com/os/oraclelinux:9-slim` [shardingsphere]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #33263:
URL: https://github.com/apache/shardingsphere/issues/33263#issuecomment-2413927491

   - I am working on the current issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org