Skip to content

Ubuntu Chiseled Image: Issues with globalization and SQL Server connection #4527

Answered by mthalman
akoken asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for trying out the chiseled images. As you've experienced, they can be difficult to work with given the lack of shell. This is why multi-stage Dockerfiles are so useful in this context. You'll need to make all the necessary updates to the openssl.cnf file in a stage of the Dockerfile that is separate from the final, chiseled stage. In the Dockerfile you posted, this is what the build stage is used for because it has a shell.

Within the build stage you can make the necessary updates to the openssl.cnf as suggested in the SqlClient repo:

RUN sed -i 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/g' /etc/ssl/openssl.cnf \
    && sed -i 's/MinProtocol = TLSv1.2/MinProtocol = TLSv1/g' /etc/ssl…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@akoken
Comment options

Comment options

You must be logged in to vote
3 replies
@akoken
Comment options

@richlander
Comment options

@akoken
Comment options

Answer selected by akoken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants