-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdockerfile
More file actions
20 lines (19 loc) · 788 Bytes
/
dockerfile
File metadata and controls
20 lines (19 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM golang:1.22
#FROM alpine:latest
LABEL maintainer="ianleto"
###############################################################################
# INSTALLATION
###############################################################################
#RUN apk add vim
# RUN apk add curl
WORKDIR /app
COPY ./tool $WORKDIR
COPY ./resource.json $WORKDIR
###############################################################################
# START
###############################################################################
WORKDIR $WORKDIR
#CMD ./main --gf.gcfg.path=$WORKDIR/config
CMD [ "./bench","cron"]
#CMD ./agent init=true -c ./config/config.toml
# 安装make 方式 cd /make-4.2.1 && ./configure && make && make install