Reverted to Template and Update
Some checks failed
Continuous Integration / CI (push) Has been cancelled
Some checks failed
Continuous Integration / CI (push) Has been cancelled
Reverted to Template from old project dev. Updated to latest golang
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# syntax = docker/dockerfile:1-experimental
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} golang:1.16.5-alpine AS base
|
||||
FROM --platform=${BUILDPLATFORM} golang:1.24.3-alpine AS base
|
||||
WORKDIR /src
|
||||
ENV CGO_ENABLED=1
|
||||
RUN apk update
|
||||
@@ -39,7 +39,7 @@ RUN --mount=target=. \
|
||||
FROM base as mod-init-base
|
||||
WORKDIR /out
|
||||
COPY . .
|
||||
ENV MODNAME goptrack
|
||||
ENV MODNAME example
|
||||
RUN go mod init "${MODNAME}" && go mod tidy
|
||||
|
||||
FROM base AS mod-tidy
|
||||
|
||||
Reference in New Issue
Block a user