Skip to content

Commit

Permalink
fix(controller): Fix timezone support. Fixes #5181 (#5182)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Collins <alex_collins@intuit.com>
  • Loading branch information
alexec authored Feb 24, 2021
1 parent 199016a commit e5a5f03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ FROM scratch as workflow-controller

USER 8737

COPY --from=workflow-controller-build /usr/share/zoneinfo /usr/share/
ADD --chown=8737 https://github.com/golang/go/raw/master/lib/time/zoneinfo.zip /zoneinfo.zip
ENV ZONEINFO /zoneinfo.zip
COPY --chown=8737 --from=workflow-controller-build /go/src/github.com/argoproj/argo-workflows/dist/workflow-controller /bin/

ENTRYPOINT [ "workflow-controller" ]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ endif
.PHONY: controller-image
controller-image: dist/controller.image

dist/controller.image: $(CONTROLLER_PKGS)
dist/controller.image: $(CONTROLLER_PKGS) Dockerfile
$(call docker_build,workflow-controller)
touch dist/controller.image

Expand Down

0 comments on commit e5a5f03

Please sign in to comment.