andrius / openconnect-docker

openconnect (client to Pulse Secure VPN) in docker
2 stars 0 forks source link

docker image build #2

Open gambledor opened 5 years ago

gambledor commented 5 years ago

When I try to build the image I get the following error

dea1b816f97796ebf0de9aa3Sending build context to Docker daemon  28.67kB
Step 1/6 : FROM alpine:3.7
 ---> 6d1ef012b567
Step 2/6 : ENV VPN_URL      https://YOUR-CORPORATE-PULSES-ECURE-VPN.URL/dana-na/auth/url_default/welcome.cgi
 ---> Using cache
 ---> 9e3affa8c32f
Step 3/6 : ENV VPN_OPTIONS  --disable-ipv6 --protocol=nc --os=linux
 ---> Using cache
 ---> 2320cf135a18
Step 4/6 : RUN apk --update --allow-untrusted --repository http://dl-4.alpinelinux.org/alpine/edge/testing/ add       bash       openconnect && rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
 ---> Running in dc946b26692d
fetch http://dl-4.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  so:libpskc.so.0 (missing):
    required by:
                 openconnect-8.02-r0[so:libpskc.so.0]
                 openconnect-8.02-r0[so:libpskc.so.0]
                 openconnect-8.02-r0[so:libpskc.so.0]
The command '/bin/sh -c apk --update --allow-untrusted --repository http://dl-4.alpinelinux.org/alpine/edge/testing/ add       bash       openconnect && rm -rf /var/cache/apk/* /tmp/* /var/tmp/*' returned a non-zero code: 2
andrius commented 5 years ago

try to change alpine version in the dockerfile (to the edge)

Sent with GitHawk