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

zsh: no matches found: JAR_FILE=build/libs/*.jar

Raghav2211 opened this issue · comments

Docker build image not working with below command:
docker build --build-arg JAR_FILE=build/libs/*.jar -t springio/gs-spring-boot-docker .

Resolution:
Escape wild card character
docker build --build-arg JAR_FILE=build/libs/\*.jar -t springio/gs-spring-boot-docker .