Skip to content

Commit

Permalink
build args
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Apr 26, 2024
1 parent ef62252 commit b78eb2d
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 b78eb2d

Please sign in to comment.