Skip to content

Add single quotes in dockerize gradle command#89

Merged
dsyer merged 1 commit intospring-guides:masterfrom
ksundong:fix-containerize-gradle-command
Nov 2, 2020
Merged

Add single quotes in dockerize gradle command#89
dsyer merged 1 commit intospring-guides:masterfrom
ksundong:fix-containerize-gradle-command

Conversation

@ksundong
Copy link
Copy Markdown
Contributor

@ksundong ksundong commented Nov 2, 2020

Fixes #88

In my environment(Mac OS BigSur, Gradle, zsh).

This command not worked for me:

docker build --build-arg JAR_FILE=build/libs/*.jar -t springio/gs-spring-boot-docker .

And it worked for me:

docker build --build-arg 'JAR_FILE=build/libs/*.jar' -t springio/gs-spring-boot-docker .

@dsyer dsyer merged commit a0f505f into spring-guides:master Nov 2, 2020
@dsyer
Copy link
Copy Markdown
Contributor

dsyer commented Nov 2, 2020

Looks like a MacOS issue maybe.

@ksundong ksundong deleted the fix-containerize-gradle-command branch November 2, 2020 13:38
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

Successfully merging this pull request may close these issues.

Update Guide For zsh users(gradle dockerizing not working)

2 participants