FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG="zh_TW.UTF-8"
ENV LANGUAGE=zh_TW
RUN apt-get clean && apt-get update && apt-get install -y locales && \
locale-gen zh_TW.UTF-8 && locale-gen zh_TW && \
echo "Asia/Taipei" > /etc/timezone && \
apt-get install -y locales && \
sed -i -e "s/# $LANG.*/$LANG.UTF-8 UTF-8/" /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=$LANG && \
apt-get update -y && \
apt-get install -y fonts-droid-fallback software-properties-common python3-software-properties sudo && \
add-apt-repository universe && \
apt-get update -y && \
apt-get install -y xterm pulseaudio cups curl \
iputils-ping libxss1 wget xdg-utils libpango1.0-0 fonts-liberation fonts-ubuntu \
lxde firefox htop nano git vim
ADD nomachine_6.9.2_1_amd64.deb /
RUN dpkg -i /nomachine_6.9.2_1_amd64.deb
RUN rm -f /nomachine_6.9.2_1_amd64.deb