From e306ceab41bee4197a2172dcb9bebbe40526d55c Mon Sep 17 00:00:00 2001 From: Oleg Don <31502412+HeadHunter483@users.noreply.github.com> Date: Wed, 18 Oct 2023 23:21:21 +0500 Subject: [PATCH] Add APP_IMAGE arg to Dockerfile_dev --- build/package/Dockerfile_dev | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/package/Dockerfile_dev b/build/package/Dockerfile_dev index 8e24a3393..8ea978f46 100644 --- a/build/package/Dockerfile_dev +++ b/build/package/Dockerfile_dev @@ -1,3 +1,5 @@ +ARG APP_IMAGE=ubuntu:latest + # Build FROM --platform=$BUILDPLATFORM golang:1.21-alpine AS build @@ -22,7 +24,7 @@ RUN go build -trimpath \ -o file.d ./cmd/file.d # Deploy -FROM ubuntu:20.04 +FROM $APP_IMAGE RUN apt update RUN apt install systemd strace tcpdump traceroute telnet iotop curl jq iputils-ping htop -y