フェス期間中に表示がおかしくなるの対策
This commit is contained in:
1 parent
c9a82e3ec6
commit
03ee0d70e2
2 files changed
+21
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
FROM golang:alpine AS build-env
|
||||
|
||||
RUN apk --no-cache add git make build-base
|
||||
|
||||
RUN git clone --depth 1 https://git.sirrow.work/sirrow/splaschedbot.git
|
||||
WORKDIR splaschedbot
|
||||
|
||||
RUN mkdir -p /build
|
||||
RUN go mod tidy
|
||||
RUN go build -a -tags "netgo" -tags timetzdata -installsuffix netgo -ldflags="-s -w -extldflags \"-static\"" -o=/build/splaschedbot main.go
|
||||
|
||||
FROM alpine:3.22
|
||||
|
||||
RUN apk --no-cache add ca-certificates
|
||||
COPY --from=build-env build/splaschedbot /splaschedbot
|
||||
RUN chmod u+x /splaschedbot
|
||||
|
||||
CMD ["/splaschedbot"]
|
||||
Reference in new issue
Block a user