From da909c8c5364ebf6655fc25fa1f34af742ae61e5 Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Thu, 17 Feb 2022 15:42:14 +0100 Subject: [PATCH] Dockerfile... variable usage --- .drone.jsonnet | 6 +++--- Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 9a8c310..fa1036f 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -9,9 +9,9 @@ local Pipeline(os, release) = { pull: "always", settings: { dockerfile: "Dockerfile", - build_args: { - BUILD_FROM: os + ":" + release, - }, + build_args: [ + "BUILD_FROM=" + os + ":" + release, + ], registry: "docker.asperti.com", repo: "docker.asperti.com/paspo/docker-deb-builder", username: { diff --git a/Dockerfile b/Dockerfile index d20c3fa..c5e533b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG BUILD_FROM=debian:bullseye +ARG BUILD_FROM FROM ${BUILD_FROM} RUN \