Skip to content

Commit f8cde46

Browse files
committed
fix: uco mail insecure
1 parent 7c1ae62 commit f8cde46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ RUN set -eux; \
8080
\
8181
apk del .build-deps
8282

83-
RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/g' /etc/ssl/openssl.cnf
83+
RUN echo 'Wait for it...' \
84+
&& sed -i 's/CipherString = DEFAULT@SECLEVEL=2/CipherString = DEFAULT@SECLEVEL=1/g' /etc/ssl/openssl.cnf \
85+
|| echo 'CipherString = DEFAULT@SECLEVEL=1' >> /etc/ssl/openssl.cnf
8486

8587
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
8688

0 commit comments

Comments
 (0)