Professional Documents
Culture Documents
com/trustin/manjaro-xrdp-xfce
docker create \
--name manjaro-test \
--env "LANG=en_US.UTF-8" \
--env "TZ=America/Los_Angeles" \
--env "PUSER=user" \
--env "PUID=1000" \
--tty \
--interactive \
--privileged \
--shm-size 2G \
--publish 3000:3389 \
--publish 200:22 \
ghcr.io/trustin/manjaro-xrdp-xfce:latest
#####################################
###########################DOCKERFIE########################
FROM manjarolinux/base:latest
ARG MIRROR_URL
ENV LANG=en_US.UTF-8
ENV TZ=America/Los_Angeles
ENV PATH="/usr/bin:${PATH}"
ENV PUSER=user
ENV PUID=1000
# Configure the locale; enable only en_US.UTF-8 and the current locale.
RUN sed -i -e 's~^\([^#]\)~#\1~' '/etc/locale.gen' && \
echo -e '\nen_US.UTF-8 UTF-8' >> '/etc/locale.gen' && \
if [[ "${LANG}" != 'en_US.UTF-8' ]]; then \
echo "${LANG}" >> '/etc/locale.gen'; \
fi && \
locale-gen && \
echo -e "LANG=${LANG}\nLC_ADDRESS=${LANG}\nLC_IDENTIFICATION=${LANG}\
nLC_MEASUREMENT=${LANG}\nLC_MONETARY=${LANG}\nLC_NAME=${LANG}\nLC_NUMERIC=${LANG}\
nLC_PAPER=${LANG}\nLC_TELEPHONE=${LANG}\nLC_TIME=${LANG}" > '/etc/locale.conf'
# Configure Pamac.
RUN sed -i -e \
's~#\(\(RemoveUnrequiredDeps\|SimpleInstall\|EnableAUR\|KeepBuiltPkgs\|
CheckAURUpdates\|DownloadUpdates\).*\)~\1~g' \
/etc/pamac.conf
STOPSIGNAL SIGRTMIN+3
CMD ["/sbin/init"]