Skip to content

Commit

Permalink
Add tzdata to support timezones
Browse files Browse the repository at this point in the history
  • Loading branch information
mjnaderi committed Aug 16, 2024
1 parent 6c1c21b commit f050aa4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ to periodically run a command.
| -------------------- | -------------------------------------------------------------- |
| `SCHEDULE` | A cron expression. Refer to the [cronexpr] doc for the syntax. |
| `SCHEDULE_CMD` | A command to run periodically. |
| `TZ` | The timezone to use for the schedule. |

## Key generation

Expand Down
2 changes: 1 addition & 1 deletion client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.20

# Install openssh-client and autossh
RUN apk add --no-cache openssh-client autossh rsync supercronic nss_wrapper
RUN apk add --no-cache openssh-client autossh rsync supercronic tzdata nss_wrapper

# Copy entrypoint script
COPY entrypoint.sh /entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM alpine:3.20

# Install openssh-server
RUN apk add --no-cache openssh-server rsync nss_wrapper
RUN apk add --no-cache openssh-server rsync tzdata nss_wrapper

# Copy entrypoint script
COPY entrypoint.sh /entrypoint.sh
Expand Down

0 comments on commit f050aa4

Please sign in to comment.