mirror of
https://github.com/shazow/ssh-chat.git
synced 2026-12-04 03:55:26 +03:00
Merge pull request #445 from shinobi9/master
Adding tzdata lets the application follow the TZ environment variable and optimizes image builds.
This commit is contained in:
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