forked from mtusi2026/mtusi2026lab7
fix(tls): preserve early API rejection before forwarding upload bodies
This commit is contained in:
+2
-1
@@ -1,7 +1,8 @@
|
||||
FROM library/golang:1.27.4-alpine@sha256:70bd7ddea8b6cbe5d6943cde279d6b67feb10cc924fb9100d1d8757c1575b280 AS gateway
|
||||
WORKDIR /source
|
||||
COPY infra/tls/*.go ./
|
||||
RUN CGO_ENABLED=0 GOMAXPROCS=2 go build -trimpath -ldflags="-s -w" -o /out/tls-gateway gateway.go
|
||||
RUN CGO_ENABLED=0 GOMAXPROCS=2 go test -count=1 gateway.go gateway_test.go \
|
||||
&& CGO_ENABLED=0 GOMAXPROCS=2 go build -trimpath -ldflags="-s -w" -o /out/tls-gateway gateway.go
|
||||
|
||||
FROM ghcr.io/astral-sh/uv:0.13.7@sha256:96f40d3904aad8d0bd010539001d36c8e2188b981e1334471a90c4a1d93bb490 AS uv
|
||||
FROM python:3.14.7-slim-trixie@sha256:51dafde81dbdb6ebde285137a295cf18a47ca95234fe388a343719cb97305b3d AS builder
|
||||
|
||||
Reference in New Issue
Block a user