diff --git a/Dockerfile b/Dockerfile index 4fc2945..c4886b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,4 @@ ADD OpenConnectSSO.go OpenConnectSSO.go RUN mkdir out # build executable -CMD ["go", "build", "-o", "out/go-openconnect-sso", "."] \ No newline at end of file +CMD ["go", "build", "-o", "out/openconnect-sso", "."] \ No newline at end of file diff --git a/README.md b/README.md index 33984d5..c082155 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,12 @@ go install github.com/PhilippePitzClairoux/openconnect-sso@latest ## Usage Simple example : ```bash -./go-openconnect-sso --server vpn.host.com +openconnect-sso --server vpn.host.com ``` Auto-fill username and/or password ```bash -./go-openconnect-sso --server vpn.host.com --username myuser@email.com --password oopsThisMightNotBeTheBestIdeaEver +openconnect-sso --server vpn.host.com --username myuser@email.com --password oopsThisMightNotBeTheBestIdeaEver ``` ## How to build diff --git a/build.sh b/build.sh index bed9d8c..9e39fba 100755 --- a/build.sh +++ b/build.sh @@ -28,5 +28,5 @@ sh -c "docker run ${OVERRIDE_GO_VARIABLES} --name builder openconnect-sso-build echo -e "Copy executable from container to ./out directory\n" docker cp builder:/opt/out ./out -#echo "Copying ./out/go-openconnect-sso to /usr/bin/go-openconnect-sso" -#sudo cp ./out/go-openconnect-sso /usr/bin/go-openconnect-sso \ No newline at end of file +echo "Copying ./out/openconnect-sso to /usr/bin/openconnect-sso" +sudo cp ./out/openconnect-sso /usr/bin/openconnect-sso \ No newline at end of file