Updated to latest Go compiler and latest Alpine images.

This commit is contained in:
James Wells 2024-04-23 16:00:42 -07:00
parent 97c8af8816
commit 685a3eb16a
Signed by: jwells
GPG key ID: 73196D10B8E65666
4 changed files with 44 additions and 155 deletions

View file

@ -1,5 +1,5 @@
FROM dragonheim/golang:1.20 as builder
ARG SEMVER=${SEMVER:-0.0.9}
FROM dragonheim/golang:1.22 as builder
ARG SEMVER=${SEMVER:-0.0.11}
WORKDIR /gagent
COPY . .
@ -12,7 +12,7 @@ RUN apk add --no-cache zeromq-dev build-base git
RUN go build -o /gagent/bin/gagent -ldflags "-X main.semVER=${SEMVER}" cmd/gagent/main.go
RUN strip /gagent/bin/gagent
FROM alpine:3.17
FROM alpine:3.19
ARG SEMVER
LABEL Name="G'Agent"
LABEL Maintainer="jwells@dragonheim.net"