From 3375ad619afce8b84b2605cd8416f84bf4800935 Mon Sep 17 00:00:00 2001 From: linuxMate Date: Wed, 29 Nov 2023 07:14:52 +0300 Subject: [PATCH] deckerfile fix --- build/account.Dockerfile | 2 +- build/auth.Dockerfile | 2 +- build/category.Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/account.Dockerfile b/build/account.Dockerfile index 34f51e2f..fe7f97fb 100644 --- a/build/account.Dockerfile +++ b/build/account.Dockerfile @@ -8,7 +8,7 @@ RUN go mod download RUN go clean --modcache RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -o account ./cmd/account/account.go -FROM scratch AS run +FROM golang:1.21.0-alpine AS run WORKDIR /docker-hammywallet/ diff --git a/build/auth.Dockerfile b/build/auth.Dockerfile index 15d858e7..8c2e005a 100644 --- a/build/auth.Dockerfile +++ b/build/auth.Dockerfile @@ -8,7 +8,7 @@ RUN go mod download RUN go clean --modcache RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -o auth ./cmd/auth/main.go -FROM scratch AS run +FROM golang:1.21.0-alpine AS run WORKDIR /docker-hammywallet/ diff --git a/build/category.Dockerfile b/build/category.Dockerfile index ef7af459..ca9f7fad 100644 --- a/build/category.Dockerfile +++ b/build/category.Dockerfile @@ -8,7 +8,7 @@ RUN go mod download RUN go clean --modcache RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -o category ./cmd/category/category.go -FROM scratch AS run +FROM golang:1.21.0-alpine AS run WORKDIR /docker-hammywallet/