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.
13 lines
206 B
Docker
13 lines
206 B
Docker
2 years ago
|
FROM golang:1.18
|
||
|
|
||
|
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"]
|