first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
17
base/openssl/1.1.1m/with-curl/Dockerfile
Normal file
17
base/openssl/1.1.1m/with-curl/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM vulhub/openssl:1.1.1m
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
ADD https://github.com/curl/curl/releases/download/curl-7_82_0/curl-7.82.0.tar.gz /curl-7.82.0.tar.gz
|
||||
|
||||
RUN set -ex \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends gcc make procps \
|
||||
&& tar -zxvf /curl-7.82.0.tar.gz -C /usr/src --strip-components=1 \
|
||||
&& cd /usr/src \
|
||||
&& ./configure --with-openssl \
|
||||
&& make \
|
||||
&& make install \
|
||||
&& ln -s /usr/local/lib/libcurl.so.4 /usr/lib/libcurl.so.4 \
|
||||
&& apt-get purge -y --auto-remove gcc make \
|
||||
&& rm -rf /usr/src/* /var/lib/apt/lists/*
|
Reference in New Issue
Block a user