mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Merge pull request #2342 from drwetter/openssl_link_docker_3.0
make openssl 1.1 available via /usr/bin/openssl
This commit is contained in:
commit
5cb30aa510
@ -6,7 +6,8 @@ RUN apk update && \
|
||||
addgroup testssl && \
|
||||
adduser -G testssl -g "testssl user" -s /bin/bash -D testssl && \
|
||||
ln -s /home/testssl/testssl.sh /usr/local/bin/ && \
|
||||
mkdir -m 755 -p /home/testssl/etc /home/testssl/bin
|
||||
mkdir -m 755 -p /home/testssl/etc /home/testssl/bin && \
|
||||
ln -s /usr/bin/openssl1.1 /usr/bin/openssl
|
||||
|
||||
USER testssl
|
||||
WORKDIR /home/testssl/
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
FROM alpine:3.17
|
||||
|
||||
|
||||
ARG BUILD_VERSION
|
||||
ARG ARCHIVE_URL=https://github.com/drwetter/testssl.sh/archive/
|
||||
ARG URL=https://github.com/drwetter/testssl.sh.git
|
||||
@ -14,7 +13,8 @@ RUN test -n "${BUILD_VERSION}" \
|
||||
&& addgroup testssl \
|
||||
&& adduser -G testssl -g "testssl user" -s /bin/bash -D testssl \
|
||||
&& ln -s /home/testssl/testssl.sh /usr/local/bin/ \
|
||||
&& mkdir -m 755 -p /home/testssl/etc /home/testssl/bin
|
||||
&& mkdir -m 755 -p /home/testssl/etc /home/testssl/bin \
|
||||
&& ln -s /usr/bin/openssl1.1 /usr/bin/openssl
|
||||
|
||||
USER testssl
|
||||
WORKDIR /home/testssl/
|
||||
|
Loading…
Reference in New Issue
Block a user