fix: 升级 Go 版本至 1.24,修复 .env 特殊字符转义
This commit is contained in:
+2
-1
@@ -9,4 +9,5 @@ PORT=:8082
|
||||
|
||||
# MySQL 连接串(可选,留空则不记录 prompt)
|
||||
# 格式: user:password@tcp(host:port)/dbname?parseTime=true
|
||||
MYSQL_DSN=
|
||||
# 注意:如果密码包含特殊字符(如 @、括号等),需要用双引号包围整个 DSN
|
||||
MYSQL_DSN="user:password@tcp(host:port)/dbname?parseTime=true"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.22-alpine AS builder
|
||||
FROM golang:1.24-alpine AS builder
|
||||
|
||||
# 使用国内镜像源加速 apk
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
|
||||
Reference in New Issue
Block a user