mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-01-24 13:38:26 -06:00
Refactor Dockerfiles to include ARG for TARGETPLATFORM
This commit is contained in:
@@ -4,6 +4,7 @@ FROM golang:1.23.1-bookworm AS golang
|
||||
|
||||
# Set the base image, general environment variables, and move to temp dir
|
||||
FROM debian:12.7
|
||||
ARG TARGETPLATFORM
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV PATH="$PATH:/usr/local/go/bin"
|
||||
WORKDIR /app/temp
|
||||
|
||||
@@ -4,6 +4,7 @@ FROM golang:1.23.1-bookworm AS golang
|
||||
|
||||
# Set the base image, general environment variables, and move to temp dir
|
||||
FROM debian:12.7
|
||||
ARG TARGETPLATFORM
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV PATH="$PATH:/usr/local/go/bin"
|
||||
WORKDIR /app/temp
|
||||
|
||||
@@ -4,6 +4,7 @@ FROM golang:1.23.1-bookworm AS golang
|
||||
|
||||
# Set the base image, general environment variables, and move to temp dir
|
||||
FROM debian:12.7
|
||||
ARG TARGETPLATFORM
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV PATH="$PATH:/usr/local/go/bin"
|
||||
WORKDIR /app/temp
|
||||
|
||||
Reference in New Issue
Block a user