mirror of
https://github.com/dragonheim/gagent.git
synced 2025-04-25 22:48:59 -07:00
Updated to latest Go compiler and latest Alpine images.
This commit is contained in:
parent
97c8af8816
commit
685a3eb16a
4 changed files with 44 additions and 155 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue