Skip to content

Commit

Permalink
build args
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jul 9, 2024
1 parent 79af57d commit a0f0d05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/container/Containerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
FROM docker.io/library/busybox:latest
COPY target/cryostat-agent-*-shaded.jar /agent/
ARG BASEIMAGE=docker.io/library/busybox:latest
FROM ${BASEIMAGE}
ARG OUTDIR=/agent
COPY target/cryostat-agent-*-shaded.jar ${OUTDIR}/

0 comments on commit a0f0d05

Please sign in to comment.