Skip to content

Commit

Permalink
Add APP_IMAGE arg to Dockerfile_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
HeadHunter483 committed Oct 18, 2023
1 parent ad46a8c commit e306cea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/package/Dockerfile_dev
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ARG APP_IMAGE=ubuntu:latest

# Build
FROM --platform=$BUILDPLATFORM golang:1.21-alpine AS build

Expand All @@ -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
Expand Down

0 comments on commit e306cea

Please sign in to comment.