Skip to content

Commit

Permalink
install ca-certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorbellini committed Aug 27, 2021
1 parent 22d99f2 commit 42bfd1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,16 @@ RUN apt-get update \
freetds-dev \
freetds-bin \
vim \
unzip \
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add --no-tty - \
&& curl https://packages.microsoft.com/config/debian/10/prod.list > /etc/apt/sources.list.d/mssql-release.list \
&& apt-get update -yqq \
&& ACCEPT_EULA=Y apt-get install -yqq msodbcsql17 \
&& sed -i 's,^\(MinProtocol[ ]*=\).*,\1'TLSv1.0',g' /etc/ssl/openssl.cnf \
&& sed -i 's,^\(CipherString[ ]*=\).*,\1'DEFAULT@SECLEVEL=1',g' /etc/ssl/openssl.cnf \
&& curl -O http://acraiz.icpbrasil.gov.br/credenciadas/CertificadosAC-ICP-Brasil/ACcompactado.zip \
&& unzip ACcompactado.zip -d /usr/local/share/ca-certificates/ \
&& update-ca-certificates \
&& apt-get autoremove -yqq --purge \
&& apt-get clean \
&& rm -rf \
Expand Down

0 comments on commit 42bfd1e

Please sign in to comment.