mirror of
https://github.com/shazow/ssh-chat.git
synced 2026-10-22 23:52:12 +03:00
Adding tzdata lets the application follow the TZ environment variable and optimizes image builds.
This commit is contained in:
1 parent
2dc875817d
commit
d73cf70db8
1 file changed
+2
-4
+2
-4
@@ -9,10 +9,8 @@ RUN make build
|
||||
|
||||
FROM alpine
|
||||
|
||||
RUN apk add openssh
|
||||
RUN mkdir /root/.ssh
|
||||
WORKDIR /root/.ssh
|
||||
RUN ssh-keygen -t rsa -C "chatkey" -f id_rsa
|
||||
RUN apk add --no-cache openssh tzdata && \
|
||||
ssh-keygen -t rsa -C "chatkey" -f /root/.ssh/id_rsa
|
||||
|
||||
WORKDIR /usr/local/bin
|
||||
|
||||
|
||||
Reference in new issue
Block a user