改好了
```
FROM alpine:latest
ARG VERSION=3.4.0
ARG DEPENDENCIES=" \
build-base \
ca-certificates \
musl-dev \
linux-headers \
perl \
tar \
wget"
WORKDIR /opt
RUN --mount=type=cache,target=/var/cache/apk,sharing=locked \
set -e \
&& apk add --no-cache --virtual .fetch-deps ${DEPENDENCIES} \
&& wget
https://github.com/openssl/openssl/releases/download/openssl-${VERSION}/openssl-{VERSION}.tar.gz \
&& tar -xf openssl-${VERSION}.tar.gz \
&& cd /opt/openssl-${VERSION} \
&& ./config no-shared no-zlib no-dso no-tests \
&& make \
&& make install \
&& make clean \
&& echo "/usr/local/lib64" > /etc/ld-musl-x86_64.path \
&& cd /opt \
&& apk del .fetch-deps \
&& rm -rf /opt/openssl-${VERSION} openssl-${VERSION}.tar.gz
ENV PATH="/usr/local/bin:${PATH}"
ENV LD_LIBRARY_PATH="/usr/local/lib64:/usr/lib:/lib"
CMD ["openssl", "version"]
```