Compare commits

..

2 Commits

Author SHA1 Message Date
7127f8c1ae
Refactor commands to use the router
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-09-06 00:00:47 -05:00
141acc6980
Add a command router
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
This will only required one handler for all of the commands
2022-09-05 16:55:07 -05:00

View File

@ -6,6 +6,4 @@ RUN CGO_ENABLED=0 go build ./cmd/bb
FROM scratch AS bin FROM scratch AS bin
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /src/bb / COPY --from=build /src/bb /
ADD https://raw.githubusercontent.com/golang/go/master/lib/time/zoneinfo.zip /zoneinfo.zip
ENV ZONEINFO /zoneinfo.zip
ENTRYPOINT ["/bb"] ENTRYPOINT ["/bb"]