Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Updates to docker file and gh action #664

Merged
merged 1 commit into from Jun 3, 2022
Merged

feat: Updates to docker file and gh action #664

merged 1 commit into from Jun 3, 2022

Conversation

hskrtich
Copy link
Contributor

@hskrtich hskrtich commented Jun 2, 2022

  • Clean up Dockerfile
  • Add health check to Dockerfile 662
  • Update gh action versions
  • Update manual trigger to include input 661

* Clean up Dockerfile
* Add health check to Dockerfile
* Update gh action versions
RUN apk update && \
apk add --no-cache --update \
curl \
tzdata \
Copy link
Owner

@advplyr advplyr Jun 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does timezone data do for us here? Is that for the healthcheck?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It allows me to change the timezone inside the container using an environment var. From what I've heard the server doesnt respect the timezone yet but it can be usefull for running other commands. I also wanted to look into seeing what it would take to use the local timezone in the logs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can remove it if you want.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how that works. If we wanted to add the timezone as an environment var wouldn't we need to set env using the ENV command?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tzdata package automatically picks up the TZ env and uses it to set the timezone inside the container.

@advplyr advplyr merged commit 792490b into advplyr:master Jun 3, 2022
@advplyr
Copy link
Owner

advplyr commented Jun 4, 2022

Tried out the manually build with tag input and build is failing.
https://github.com/advplyr/audiobookshelf/runs/6740936624?check_suite_focus=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants