lncm / lncm/docker-bitcoind

Include a mechanism to set local timezone

Open
#58 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
107
Forks
39
PR merge metrics
No merged PRs in 30d

Description

It would be great if one could pass the local timezone variable to the container to use, especially handy for the bitcoin debug.log.

For this to work , it requires the tzdata package installed in the image, according to [this wiki article.](https://wiki.alpinelinux.org/wiki/Setting_the_timezone)

Then the user would pass an environment variable in compose:

```
environment:
- TZ=America/Santiago
```

or a -e in the docker command line.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the image's Dockerfile and any configuration used for docker-compose or docker run. Check how packages and environment variables are handled, then verify that installing tzdata and passing TZ produces the requested local timezone behavior in bitcoin's debug.log.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, dockerfile
Domain
devops
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.