mirror of
https://github.com/aykhans/sarin.git
synced 2026-01-13 20:11:21 +00:00
Add docker-build task and fix terminal colors in container
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
ARG GO_VERSION=required
|
||||
ARG GO_VERSION=1.25.5
|
||||
|
||||
FROM docker.io/library/golang:${GO_VERSION}-alpine AS builder
|
||||
|
||||
@@ -22,6 +22,9 @@ RUN --mount=type=bind,source=./,target=./ \
|
||||
|
||||
FROM gcr.io/distroless/static-debian12:latest
|
||||
|
||||
ENV TERM=xterm-256color
|
||||
ENV COLORTERM=truecolor
|
||||
|
||||
WORKDIR /
|
||||
|
||||
COPY --from=builder /sarin /sarin
|
||||
|
||||
Reference in New Issue
Block a user