You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Cannot use curl.
Dockerfile
What's the problem:
The text was updated successfully, but these errors were encountered: