From 79af57d604ccc46b38594e8a79954452b0fed972 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Fri, 26 Apr 2024 11:11:11 -0400 Subject: [PATCH] build(image): add Containerfile for agent carrier container image --- .containerignore | 2 ++ src/main/container/Containerfile | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 .containerignore create mode 100644 src/main/container/Containerfile diff --git a/.containerignore b/.containerignore new file mode 100644 index 00000000..1ad99637 --- /dev/null +++ b/.containerignore @@ -0,0 +1,2 @@ +* +!target/*.jar diff --git a/src/main/container/Containerfile b/src/main/container/Containerfile new file mode 100644 index 00000000..7fed76bf --- /dev/null +++ b/src/main/container/Containerfile @@ -0,0 +1,2 @@ +FROM docker.io/library/busybox:latest +COPY target/cryostat-agent-*-shaded.jar /agent/