Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,11 @@ RUN apt-get update && \
locales \
pavucontrol \
pulseaudio \
pulseaudio-utils \
software-properties-common \
sudo \
vim \
x11-xserver-utils \
xfce4 \
xfce4-goodies \
xfce4-pulseaudio-plugin \
xorgxrdp \
xrdp \
xubuntu-icon-theme && \
Expand All @@ -55,12 +52,12 @@ RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends firefox && \
rm -rf /var/lib/apt/lists/* && \
deluser --remove-home ubuntu && \
locale-gen en_US.UTF-8
locale-gen en_US.UTF-8 && \
echo 'LANG=en_US.UTF-8' > /etc/default/locale

COPY --from=builder /tmp/install /
RUN sed -i 's|^Exec=.*|Exec=/usr/bin/pulseaudio|' /etc/xdg/autostart/pulseaudio-xrdp.desktop

ENV LANG=en_US.UTF-8
COPY entrypoint.sh /usr/bin/entrypoint
EXPOSE 3389/tcp
ENTRYPOINT ["/usr/bin/entrypoint"]