1 Star 0 Fork 10

mayeror/imewlconverter

forked from studyzy/imewlconverter 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
mritd 提交于 2020-03-03 15:25 . feat(docker): add docker support
FROM mcr.microsoft.com/dotnet/core/runtime:3.1
LABEL maintainer="mritd <mritd@linux.com>"
ARG TZ="Asia/Shanghai"
ENV TZ ${TZ}
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV LANGUAGE en_US:en
ENV VERSION v2.7.0
ENV INSTALL_DIR /usr/local/imewlconverter
ENV DOWNLOAD_URL https://github.com/studyzy/imewlconverter/releases/download/${VERSION}/imewlconverter_Linux_Mac.tar.gz
ENV PATH ${INSTALL_DIR}:${PATH}
RUN set -ex \
&& apt update -y \
&& apt upgrade -y \
&& apt install tzdata locales curl -y \
&& curl -sSL ${DOWNLOAD_URL} > imewlconverter.tar.gz \
&& mkdir -p ${INSTALL_DIR} \
&& tar -zxf imewlconverter.tar.gz -C ${INSTALL_DIR} \
&& locale-gen --purge en_US.UTF-8 zh_CN.UTF-8 \
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \
&& echo 'LANG="en_US.UTF-8"' > /etc/default/locale \
&& echo 'LANGUAGE="en_US:en"' >> /etc/default/locale \
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& echo ${TZ} > /etc/timezone \
&& apt autoremove -y \
&& apt autoclean -y \
&& rm -rf imewlconverter.tar.gz /var/lib/apt/lists/*
ENTRYPOINT ["ImeWlConverterCmd"]
CMD ["-?"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/mayeror/imewlconverter.git
git@gitee.com:mayeror/imewlconverter.git
mayeror
imewlconverter
imewlconverter
master

搜索帮助