Skip to content

GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.

build: Update Go and Alpine base images to newer versions.

Aldino Kemaldfccc04328ac
diff --git a/docker/golang.Dockerfile b/docker/golang.Dockerfile
index 46341da2..91609db3 100644
--- a/docker/golang.Dockerfile
+++ b/docker/golang.Dockerfile
@@ -1,7 +1,7 @@
############################
# STEP 1 build executable binary
############################
-FROM golang:1.24-alpine3.20 AS builder
+FROM golang:1.25-alpine3.23 AS builder
RUN apk update && apk add --no-cache gcc musl-dev gcompat
WORKDIR /whatsapp
COPY ./src .
@@ -14,7 +14,7 @@ RUN go build -a -ldflags="-w -s" -o /app/whatsapp
#############################
## STEP 2 build a smaller image
#############################
-FROM alpine:3.20
+FROM alpine:3.23
RUN apk add --no-cache ffmpeg libwebp-tools tzdata
ENV TZ=UTC
WORKDIR /app