Skip to content

Set a timezone to Ruby Image #218

Closed
Closed

Description

@pedrofurtado

My Ruby on Rails application uses America\Sao_Paulo timezone. How do I set the timezone in my Dockerfile of Ruby docker image? Do I need to add a ENV command ?

Activity

  1. wglambert commented on Jun 11, 2018

    @wglambert

    Are you using alpine?
    https://stackoverflow.com/a/42699704

    A more involved answer, also noting alpine discrepancies https://serverfault.com/a/683651

    In the future questions like these should be asked in the Docker Community Forums, the Docker Community Slack, or Stack Overflow.

  2. added
    questionUsability question, not directly related to an error with the image
    on Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions