You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
FROM golang:1.19
|
|
|
|
|
|
|
|
ENV TZ Asia/Shanghai
|
|
|
|
ENV GOPROXY https://goproxy.cn,direct
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
ADD goctl /usr/bin/goctl
|
|
|
|
ADD cmd.sh .
|
|
|
|
|
|
|
|
RUN chmod +x /usr/bin/goctl
|
|
|
|
RUN chmod +x cmd.sh
|
|
|
|
CMD ["/bin/bash", "cmd.sh"]
|