Closed f100024 closed 1 year ago
I have same issuse,I change FROM alpine:latest
but not worked
I've just rechecked. But seems it works. Did you reproduced same issue? Could you try to clean your old layers?
I use a clean new system test.it may be alpine package manage system issue.
finally I use libressl and libressl-dev to replace openssl and openssl-dev to work.
finally I use libressl and libressl-dev to replace openssl and openssl-dev to work.
That fixed it for me too:
diff --git a/Dockerfile b/Dockerfile
index 4153b43..8424f50 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,8 +13,8 @@ RUN apk --update add build-base \
ip6tables \
iproute2 \
iptables-dev \
- openssl \
- openssl-dev && \
+ libressl \
+ libressl-dev && \
mkdir -p /tmp/strongswan && \
curl -Lo /tmp/strongswan.tar.bz2 $STRONGSWAN_RELEASE && \
tar --strip-components=1 -C /tmp/strongswan -xjf /tmp/strongswan.tar.bz2 && \
To prevent conflicts:
ERROR: unsatisfiable constraints: libressl-dev-2.7.4-r0: conflicts: openssl-dev-1.0.2o-r1[pc:libcrypto=2.7.4] openssl-dev-1.0.2o-r1[pc:libssl=2.7.4] openssl-dev-1.0.2o-r1[pc:openssl=2.7.4] satisfies: curl-dev-7.60.0-r1[libressl-dev] libssh2-dev-1.8.0-r3[pc:libcrypto] libssh2-dev-1.8.0-r3[pc:libssl] openssl-dev-1.0.2o-r1: conflicts: libressl-dev-2.7.4-r0[pc:libcrypto=1.0.2o] libressl-dev-2.7.4-r0[pc:libssl=1.0.2o] libressl-dev-2.7.4-r0[pc:openssl=1.0.2o] satisfies: world[openssl-dev] libssh2-dev-1.8.0-r3[pc:libcrypto] libssh2-dev-1.8.0-r3[pc:libssl]