Reverted to Template and Update
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:
sjc
2025-05-06 21:01:22 -04:00
parent fd67f9ef8a
commit 1dbeb5a218
3 changed files with 2 additions and 71 deletions

View File

@@ -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