snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

fast-jar : COPY target/quarkus-app/lib : no such file or directory #186

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

Describe the bug docker build using Dockerfile.fast-jar is failed.

Expected behavior docker image was created.

Actual behavior

COPY failed: stat /var/lib/docker/tmp/docker-builder045695131/target/quarkus-app/lib: no such file or directory
Step 7/13 : COPY --chown=1001 target/quarkus-app/lib/ /deployments/lib/

More details for GitHub Actions log: https://github.com/yurake/k8s-3tier-webapp/pull/642/checks?check_run_id=1160743069

To Reproduce

Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).

Or attach an archive containing the reproducer to the issue.

Steps to reproduce the behavior:

  1. mvn -B verify package
  2. docker build -t {image org/name:version} -f src/main/docker/Dockerfile.fast-jar .

Configuration

# Configuration file
# key = value

# package
quarkus.package.type=fast-jar

# log
quarkus.log.console.enable=true
quarkus.log.console.format=%d{HH:mm:ss} %-5p [%c{2.}] (%t) %s%e%n
quarkus.log.console.level=DEBUG
quarkus.log.console.color=true
quarkus.log.category."io.quarkus".level=INFO

# Opentracing
quarkus.jaeger.service-name=jaxrs-memcached-quarkus
quarkus.jaeger.sampler-type=const
quarkus.jaeger.sampler-param=1
quarkus.jaeger.agent-host-port=jaeger-agent:6831

# message
common.message=Hello k8s-3tier-webapp with quarkus

# memcached
memcached.server.conf=memcached:11211
%test.memcached.server.conf=memcached:11211

Environment (please complete the following information):


https://github.com/quarkusio/quarkus/issues/12324


$upstream:12324$