Compare commits

..

3 Commits

Author SHA1 Message Date
c59c95c47a
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:02:24 -05:00
0345b1cba1
Add a command router
This will only required one handler for all of the commands
2022-09-06 00:02:24 -05:00
a1d612abc0
Add time zone database to container
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-06 00:02:04 -05:00

View File

@ -6,4 +6,6 @@ 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"]