Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docker/serverless.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM golang:1.25-alpine AS builder
ARG VERSION=unknown

# Install ca-certificates and timezone data for final stage
RUN apk add --no-cache ca-certificates tzdata
RUN apk add --no-cache ca-certificates tzdata && \
apk add --upgrade --force-refresh busybox

# Set working directory
WORKDIR /app
Expand All @@ -27,7 +28,8 @@ RUN CGO_ENABLED=0 go build \
FROM alpine:3.20

# Install ca-certificates for SSL/TLS
RUN apk add --no-cache ca-certificates tzdata
RUN apk add --no-cache ca-certificates tzdata && \
apk add --upgrade --force-refresh busybox

# Create non-root user with specific UID/GID for consistency
RUN addgroup -g 1000 appgroup && \
Expand Down
Loading