From e1a3819882aeb12c108b4cd8a096f6eb4fa628ee Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Wed, 25 Dec 2024 01:19:04 +0900 Subject: [PATCH] Move sources directory and introduce additional build context --- Dockerfiles/build-sqlite3/ubuntu/Dockerfile | 2 +- Dockerfiles/build-sqlite3/ubuntu/src/.gitkeep | 0 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 Dockerfiles/build-sqlite3/ubuntu/src/.gitkeep diff --git a/Dockerfiles/build-sqlite3/ubuntu/Dockerfile b/Dockerfiles/build-sqlite3/ubuntu/Dockerfile index e684698e40..6f36c1df0e 100644 --- a/Dockerfiles/build-sqlite3/ubuntu/Dockerfile +++ b/Dockerfiles/build-sqlite3/ubuntu/Dockerfile @@ -34,7 +34,7 @@ ENV ZBX_SOURCES_DIR=/tmp/zabbix-${ZBX_VERSION} ZBX_OUTPUT_DIR=/tmp/zabbix-${ZBX_ RUN --mount=type=cache,target=/root/.cache/go-build/ \ --mount=type=cache,target=/root/go/ \ - --mount=type=bind,source=src/,target=/tmp/src \ + --mount=from=sources,target=/tmp/src \ --mount=type=bind,source=patches/,target=/tmp/patches \ --mount=from=config_templates,target=/tmp/conf \ set -eux && \ diff --git a/Dockerfiles/build-sqlite3/ubuntu/src/.gitkeep b/Dockerfiles/build-sqlite3/ubuntu/src/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000