From 2fadef1fff6e3a613a5de928b4a90b31ffba9b93 Mon Sep 17 00:00:00 2001 From: Piotr Gankiewicz Date: Sun, 4 Aug 2024 12:46:27 +0200 Subject: [PATCH] Update Dockerfile (#1102) --- Dockerfile.ci | 2 +- Dockerfile.ci.dockerignore | 11 +++++++++++ Dockerfile.cross.dockerignore | 11 +++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 Dockerfile.ci.dockerignore create mode 100644 Dockerfile.cross.dockerignore diff --git a/Dockerfile.ci b/Dockerfile.ci index 433bb507e..cd854f369 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM gcr.io/distroless/cc ARG IGGY_CMD_PATH RUN test -n "$IGGY_CMD_PATH" || (echo "IGGY_CMD_PATH not set" && false) diff --git a/Dockerfile.ci.dockerignore b/Dockerfile.ci.dockerignore new file mode 100644 index 000000000..99e9112c0 --- /dev/null +++ b/Dockerfile.ci.dockerignore @@ -0,0 +1,11 @@ +.config +.github +/assets +/local_data +/certs +/scripts +Dockerfile +docker-compose.yml +.dockerignore +.git +.gitignore diff --git a/Dockerfile.cross.dockerignore b/Dockerfile.cross.dockerignore new file mode 100644 index 000000000..99e9112c0 --- /dev/null +++ b/Dockerfile.cross.dockerignore @@ -0,0 +1,11 @@ +.config +.github +/assets +/local_data +/certs +/scripts +Dockerfile +docker-compose.yml +.dockerignore +.git +.gitignore