File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ RUN cp src/.libs/*.so /tmp/so
43
43
FROM kalilinux/kali-rolling
44
44
ARG ADDITIONAL_PACKAGES=""
45
45
ENV ADDITIONAL_PACKAGES=${ADDITIONAL_PACKAGES}
46
+ ENV TZ="Etc/UTC"
46
47
ENV DEBIAN_FRONTEND noninteractive
47
48
RUN apt update && apt -y full-upgrade && apt install -y \
48
49
ca-certificates \
@@ -63,6 +64,7 @@ RUN apt update && apt -y full-upgrade && apt install -y \
63
64
xorgxrdp \
64
65
xprintidle \
65
66
xrdp \
67
+ tzdata \
66
68
$ADDITIONAL_PACKAGES && \
67
69
apt-get remove -yy xscreensaver && \
68
70
apt-get autoremove -yy && \
@@ -88,7 +90,8 @@ RUN cp /etc/X11/xrdp/xorg.conf /etc/X11 && \
88
90
echo "xfce4-session" >> /etc/skel/.Xclients && \
89
91
cp -r /etc/ssh /ssh_orig && \
90
92
rm -rf /etc/ssh/* && \
91
- rm -rf /etc/xrdp/rsakeys.ini /etc/xrdp/*.pem
93
+ rm -rf /etc/xrdp/rsakeys.ini /etc/xrdp/*.pem && \
94
+ ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
92
95
93
96
# Docker config
94
97
VOLUME ["/etc/ssh" ,"/home" ]
You can’t perform that action at this time.
0 commit comments