spring-guides / gs-spring-boot-docker

Spring Boot with Docker :: Learn how to create a Docker container from a Spring Boot application with Maven or Gradle

Home Page:https://spring.io/guides/gs/spring-boot-docker/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update Guide For zsh users(gradle dockerizing not working)

ksundong opened this issue · comments

commented

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 .