代码拉取完成,页面将自动刷新
FROM lxh01/wine-vnc:latest
USER root
RUN apt update && apt install -y \
locales \
mesa-utils \
procps \
pev \
sudo \
vim \
pulseaudio-utils \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -fr /tmp/*
ENV \
LANG=zh_CN.UTF-8 \
LC_ALL=zh_CN.UTF-8
COPY --chown=user:group container_root/ /
COPY [A-Z]* /
COPY VERSION /VERSION.docker-wechat
RUN chown user /home \
&& localedef -i zh_CN -c -f UTF-8 zh_CN.UTF-8 \
&& echo 'user ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER user
RUN bash -x /setup.sh
ENTRYPOINT [ "/entrypoint.sh" ]
#
# Huan(202004): VOLUME should be put to the END of the Dockerfile
# because it will frezz the contents in the volume directory
# which means the content in the directory will lost all changes after the VOLUME command
#
RUN mkdir -p "/home/user/WeChat Files" "/home/user/.wine/drive_c/users/user/Application Data" \
&& chown user:group "/home/user/WeChat Files" "/home/user/.wine/drive_c/users/user/Application Data"
VOLUME [\
"/home/user/WeChat Files", \
"/home/user/.wine/drive_c/users/user/Application Data" \
]
LABEL \
org.opencontainers.image.authors="Huan LI (李卓桓) <zixia@zixia.net>" \
org.opencontainers.image.description="DoChat(盒装微信) is a Dockerized WeChat(微信) PC Windows Client for Linux." \
org.opencontainers.image.documentation="https://github.com/huan/docker-wechat/#readme" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.source="git@github.com:huan/docker-wechat.git" \
org.opencontainers.image.title="DoChat" \
org.opencontainers.image.url="https://github.com/huan/docker-wechat" \
org.opencontainers.image.vendor="Huan LI (李卓桓)"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。