chucknorris / roundhouse

RoundhousE is a Database Migration Utility for .NET using sql files and versioning based on source control
http://projectroundhouse.org
916 stars 249 forks source link

Latest images in dockerhub do not have correct `ENTRYPOINT` #432

Closed tkent closed 2 years ago

tkent commented 3 years ago

The Dockerfile ENTRYPOINT for the latest tag (also 1.2.3) does not have the current ENTRYPOINT defined in this repo. Instead, the ENTRYPOINT is defined as:

 ENTRYPOINT ["/bin/sh" "-c" "dotnet rh.dll"]

(see here)

This results in the official image being unable to process arguments if the ENTRYPOINT is not overwritten.

Step to reproduce:

Running the below command will not show the help message, but rather a message that connection string was not provided.

docker run --rm dotnetroundhouse/roundhouse:1.2.3  --help

Running the command below, with the entrypoint overwritten, will correctly show the help message.

docker run --rm --entrypoint="dotnet" dotnetroundhouse/roundhouse:1.2.3  rh.dll --help
erikbra commented 2 years ago

Solved in https://github.com/chucknorris/roundhouse/releases/tag/1.3.0

New images:

docker pull dotnetroundhouse/roundhouse:latest docker pull dotnetroundhouse/roundhouse:1.3.0