Skip to content
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

run-in-docker.sh script is broken #8072

Closed
mthebridge opened this issue Apr 25, 2018 · 2 comments
Closed

run-in-docker.sh script is broken #8072

mthebridge opened this issue Apr 25, 2018 · 2 comments

Comments

@mthebridge
Copy link
Contributor

Description

The run-in-docker.sh script fails with a docker syntax error.

Swagger-codegen version

Latest master branch (at f9ae84d)

Steps to reproduce

On latest master branch:

$ sudo ./run-in-docker.sh mvn package
++ dirname ./run-in-docker.sh
+ cd .
+ maven_cache_repo=/root/.m2/repository
+ mkdir -p /root/.m2/repository
++ id -u
++ id -g
+ docker run --rm -it -w /gen -e GEN_DIR=/gen -e MAVEN_CONFIG=/var/maven/.m2 -u 0:0 ' '
docker: invalid reference format.
See 'docker run --help'.
Related issues/PRs

Regression caused by e2c58fa - see here

Suggest a fix/enhancement

Remove the extra whitespace in the script.

@crhistianramirez
Copy link

crhistianramirez commented May 13, 2018

Should this be closed then? #8070

@mthebridge
Copy link
Contributor Author

Yes, sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants