Commit f93b1bb5 authored by Li Mi's avatar Li Mi

Fix CGO For Wings

parent 15b5cf49
......@@ -9,7 +9,10 @@ RUN curl https://api.github.com/repos/pterodactyl/wings/releases/latest \
RUN chmod +x wings_linux_amd64
# 第二阶段,只有二进制文件
FROM alpine
# 最后修复了库问题
# 直到翼龙关闭CGO编译
RUN apk update && \
apk add ca-certificates
apk add ca-certificates \
mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
COPY --from=0 /wings_linux_amd64 /wings
CMD [ "/wings" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment