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

current installer for ansible breaks with specific version numbers #17

Open
Adrian-STA opened this issue Apr 6, 2023 · 1 comment
Open

Comments

@Adrian-STA
Copy link

root@ubuntu20-04:~/nita-webapp/nita-ansible# ./build_container.sh
[+] Building 1.9s (6/21)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.27kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/amd64/alpine:3.16.1 0.3s
=> CACHED [ 1/17] FROM docker.io/amd64/alpine:3.16.1@sha256:9b2a28eb47540823042a2ba401386845089bb7b62a9637d55816132c4c3c36eb 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 10.46kB 0.0s
=> ERROR [ 2/17] RUN apk add --no-cache sudo python3 py3-pip openssl ca-certificates git gcc libxml2-dev libxslt-dev musl-dev bash python3-dev openssh expect sshpass libffi-dev openssl-dev build-base curl vim 1.6s

[ 2/17] RUN apk add --no-cache sudo python3 py3-pip openssl ca-certificates git gcc libxml2-dev libxslt-dev musl-dev bash python3-dev openssh expect sshpass libffi-dev openssl-dev build-base curl vim ansible-core=2.12.0 ansible=5.8.0:
#0 0.576 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
#0 0.963 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
#0 1.381 ERROR: unable to select packages:
#0 1.427 ansible-core-2.13.6-r0:
#0 1.427 breaks: world[ansible-core=2.12.0]
#0 1.427 satisfies: ansible-5.8.0-r0[ansible-core]
#0 1.427 ansible-5.8.0-r0:
#0 1.427 breaks: world[ansible=5.8.0]


Dockerfile:25

24 |
25 | >>> RUN apk add --no-cache sudo
26 | >>> python3 py3-pip openssl ca-certificates git
27 | >>> gcc libxml2-dev libxslt-dev musl-dev
28 | >>> bash python3-dev openssh expect sshpass
29 | >>> libffi-dev openssl-dev build-base curl vim
30 | >>> ansible-core=2.12.0
31 | >>> ansible=5.8.0
32 |

ERROR: failed to solve: process "/bin/sh -c apk add --no-cache sudo python3 py3-pip openssl ca-certificates git gcc libxml2-dev libxslt-dev musl-dev bash python3-dev openssh expect sshpass libffi-dev openssl-dev build-base curl vim ansible-core=2.12.0 ansible=5.8.0" did not complete successfully: exit code: 2

@wildsubnet
Copy link
Contributor

This is resolved in an open pull request. (#16).

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

2 participants