update dockerfile

This commit is contained in:
2025-03-09 20:41:35 +00:00
parent 21a123e7cf
commit 78cd5cc2bb
2 changed files with 3 additions and 4 deletions

View File

@@ -2,14 +2,13 @@
FROM golang:1.24.1-alpine3.21 AS build
RUN apk add clang lld musl-dev compiler-rt compiler-rt-static
RUN apk add clang lld musl-dev compiler-rt
RUN mkdir -pv /app
COPY . /app
WORKDIR /app
ENV CC=clang
ENV GOPATH=/app
ENV CGO_ENABLED=1
ENV GOOS=linux

2
go.mod
View File

@@ -1,6 +1,6 @@
module maxwarden
go 1.23.0
go 1.24.1
require golang.org/x/crypto v0.31.0