Cron with interval 1 second, yaml based configs
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
211 B

  1. FROM golang:1.13-alpine
  2. RUN apk update
  3. RUN apk add git mercurial
  4. WORKDIR /app
  5. COPY . .
  6. RUN CGO_ENABLED=0 go build -mod vendor -ldflags "-w -s"
  7. FROM alpine:3.11
  8. COPY --from=0 /app/gogocron /usr/bin/gogocron