-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run docker commands #542
Comments
You can set your own Entrypoint script + args with the ContainerAppCommand items - though another pathway would be to modify the SSL Conf file and mount that in during container execution via In general, the SDK Containers tech does not support |
Hello,
Can you point to a sample of how to do an Entrypoint script with the args
and ContainerAppCommand? And I will test to see if this works.
…On Fri, Jan 26, 2024 at 12:48 PM Chet Husk ***@***.***> wrote:
You can set your own Entrypoint script + args with the ContainerAppCommand
<https://github.com/dotnet/sdk-container-builds/blob/main/docs/ContainerCustomization.md#containerappcommand>
items - though another pathway would be to modify the SSL Conf file and
mount that in during container execution via -v commands.
In general, the SDK Containers tech does not support RUN commands and
cannot because it doesn't run a Linux VM, so we have to find alternative
ways to accomplish the same goal.
—
Reply to this email directly, view it on GitHub
<#542 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH7YYRGJNVRDFPHLYO7Y4OLYQP26RAVCNFSM6AAAAABCKBK676VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSGUZDOMRRGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I have added the following to the csproj file but it doesnt run the script The logs end up displaying /usr/bin/dotnet: /usr/bin/dotnet: cannot execute binary file |
if you add |
@baronfel Can you be more specified or give an example? thanks in advance. |
How would i run the following docker command before the ENTRYPOINT using the SDK Container Building Tools? But this is to basically set the image to use TLS v1.2 or below for the default .NET8 image (.NET8 Issue).
RUN sed -i '/[openssl_init]/a ssl_conf = ssl_sect' /etc/ssl/openssl.cnf
or
RUN sed -i '/[openssl_init]/a ssl_conf = ssl_sect' /etc/ssl/openssl.cnf
RUN printf "\n[ssl_sect]\nsystem_default = system_default_sect\n" >> /etc/ssl/openssl.cnf
RUN printf "\n[system_default_sect]\nMinProtocol = TLSv1.2\nCipherString = DEFAULT@SECLEVEL=0" >> /etc/ssl/openssl.cnf
The text was updated successfully, but these errors were encountered: