We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25ee113 commit 1178675Copy full SHA for 1178675
Dockerfile
@@ -1,18 +1,18 @@
1
-FROM golang:1.23-alpine AS builder
+FROM golang:1.23-bullseye AS builder
2
3
WORKDIR /app
4
5
# ENV GO111MODULE on
6
# ENV GOPROXY https://goproxy.cn
7
8
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
9
-RUN apk add --no-cache make gcc musl-dev linux-headers git
+RUN apt-get update && apt-get install -y make gcc musl-dev git libc-dev build-essential
10
11
COPY . .
12
RUN go mod download
13
RUN make
14
15
-FROM alpine:latest
+FROM golang:1.23-bullseye
16
17
18
COPY --from=builder /app/config.yml /app/
0 commit comments