Category : dockerfile

I have the following dockerfile I am using to build a docker container: FROM centos:7 COPY /src/main/build/app.zip /tmp/app.zip COPY /src/main/residual-container-setup/app/init.sh /tmp/init.sh RUN chmod +x /tmp/init.sh ENTRYPOINT ["bin/sh","/tmp/init.sh","tail -f /dev/null"] I am building the dockerfile with the following command: docker build -t app . I am able to build and tag the image with no issue. ..

Read more

This is a linked question to my previous question RUN cmd and execute curl command in VB.NET. I have a vb.net very small application that makes a api call and prints the response. Module Module1 Sub Main() Dim curlApplicationPath = IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "curl.exe") Dim arguments = $"/k {curlApplicationPath} –location –request GET http://ip:port/" Process.Start("cmd.exe", arguments) End Sub ..

Read more