Skip to content

Commit 844e5d5

Browse files
authored
Merge pull request #445 from shinobi9/master
Adding tzdata lets the application follow the TZ environment variable and optimizes image builds.
2 parents 2dc8758 + d73cf70 commit 844e5d5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ RUN make build
99

1010
FROM alpine
1111

12-
RUN apk add openssh
13-
RUN mkdir /root/.ssh
14-
WORKDIR /root/.ssh
15-
RUN ssh-keygen -t rsa -C "chatkey" -f id_rsa
12+
RUN apk add --no-cache openssh tzdata && \
13+
ssh-keygen -t rsa -C "chatkey" -f /root/.ssh/id_rsa
1614

1715
WORKDIR /usr/local/bin
1816

0 commit comments

Comments
 (0)