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

2.10-infra cannot use curl (curl_global_trace: symbol not found) #137

Open
naxim92 opened this issue Sep 22, 2023 · 0 comments
Open

2.10-infra cannot use curl (curl_global_trace: symbol not found) #137

naxim92 opened this issue Sep 22, 2023 · 0 comments

Comments

@naxim92
Copy link

naxim92 commented Sep 22, 2023

Cannot use curl.
Dockerfile

ARG ansible_version=2.10

FROM cytopia/ansible:$ansible_version-infra
# FROM alpine

RUN apk update --no-cache
RUN apk add --no-cache curl
RUN curl --help

What's the problem:

docker compose run --build --rm -ti ansible;                                                                                                                                                                                             
 => [internal] load build definition from Dockerfile                                                                                                                                                    0.0s 
 => => transferring dockerfile: 1.18kB                                                                                                                                                                  0.0s 
 => [internal] load .dockerignore                                                                                                                                                                       0.0s 
 => => transferring context: 2B                                                                                                                                                                         0.0s 
 => [internal] load metadata for docker.io/cytopia/ansible:2.10-infra                                                                                                                                   1.4s 
 => CACHED [1/4] FROM docker.io/cytopia/ansible:2.10-infra@sha256:064552ec0e9d871a2b47295116bdac7c02c6454893c5ac9be9e90fa4be0072dd                                                                      0.0s 
 => [2/4] RUN apk update --no-cache                                                                                                                                                                     2.9s 
 => [3/4] RUN apk add --no-cache curl                                                                                                                                                                   2.6s 
 => ERROR [4/4] RUN curl --help                                                                                                                                                                         0.6s 
------                                                                                                                                                                                                       
 > [4/4] RUN curl --help:                                                                                                                                                                                    
#0 0.549 Error relocating /usr/bin/curl: curl_global_trace: symbol not found                                                                                                                                 
------                                                                                                                                                                                                       
failed to solve: executor failed running [/bin/sh -c curl --help]: exit code: 127 
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

No branches or pull requests

1 participant