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 @@ -41,6 +41,7 @@ FROM ubuntu:24.04
41
41
42
42
ARG ADDITIONAL_PACKAGES=""
43
43
ENV ADDITIONAL_PACKAGES=${ADDITIONAL_PACKAGES}
44
+ ENV TZ="Etc/UTC"
44
45
ENV DEBIAN_FRONTEND noninteractive
45
46
RUN apt update && apt install -y software-properties-common apt-utils
46
47
# RUN add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" && apt update
@@ -71,6 +72,7 @@ RUN apt -y full-upgrade && apt install -y \
71
72
xorgxrdp \
72
73
xprintidle \
73
74
xrdp \
75
+ tzdata \
74
76
$ADDITIONAL_PACKAGES && \
75
77
apt-get remove -y light-locker xscreensaver && \
76
78
apt-get autoremove -yy && \
@@ -100,7 +102,8 @@ RUN cp /etc/X11/xrdp/xorg.conf /etc/X11 && \
100
102
echo "xfce4-session" >> /etc/skel/.Xsession && \
101
103
cp -r /etc/ssh /ssh_orig && \
102
104
rm -rf /etc/ssh/* && \
103
- rm -rf /etc/xrdp/rsakeys.ini /etc/xrdp/*.pem
105
+ rm -rf /etc/xrdp/rsakeys.ini /etc/xrdp/*.pem && \
106
+ ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
104
107
105
108
# Docker config
106
109
VOLUME ["/etc/ssh" ,"/home" ]
You can’t perform that action at this time.
0 commit comments