build: fix build order

master
Evan Chen 2021-10-25 12:40:40 +08:00
parent b8a4b13d5f
commit e48fbcb6e6
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,5 @@
FROM golang:1.17.2 FROM golang:1.17.2
RUN curl -fsSL https://kumoly.io/attachments/a8b503db-8067-4323-9d1d-bc6e616af452 | tar -C /usr/local/bin/ -xz
WORKDIR /src WORKDIR /src
RUN touch shell.sh RUN touch shell.sh
@ -19,5 +17,6 @@ func main() {\n\
}\n' > main.go }\n' > main.go
RUN curl -fsSL https://kumoly.io/attachments/a8b503db-8067-4323-9d1d-bc6e616af452 | tar -C /usr/local/bin/ -xz
CMD [ "configui", "-log", "configui.log", "-f","conf.json" ] CMD [ "configui", "-log", "configui.log", "-f","conf.json" ]