Environment Variables added

Include Windows Build option

containerignore updated

readme Environment Variable Additions

Added Building for windows AND linux

- using podman or docker
This commit is contained in:
riomoo 2026-01-18 15:48:34 -05:00
parent 44b2874780
commit bd8437bd1f
Signed by: riomoo
SSH key fingerprint: SHA256:dP5B5iLpXU5V8aBA8eGm9tN5YtxXJybnv4McyltPyzM
10 changed files with 347 additions and 11 deletions

View file

@ -25,7 +25,7 @@ RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build \
-a \
-ldflags="-s -w -linkmode external -extldflags '-static' -X main.GOMEMLIMIT=512MiB -X runtime.defaultGOGC=50" \
-trimpath \
-o bin/main app/gopherbook/main.go
-o bin/main ./app/gopherbook
RUN upx --best --ultra-brute bin/main
RUN chmod +x bin/main