3 Star 1 Fork 0

合宙Luat / luatos-service-cbuild-fonts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
Wendal 提交于 2024-03-22 09:43 . add: 添加已有代码
#FROM registry.cn-beijing.aliyuncs.com/wendal/xmake:2.6.4
FROM ubuntu:22.04
# ENV PYTHONUNBUFFERED=1
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
# RUN apk add --update --no-cache python3 otf2bdf && ln -sf python3 /usr/bin/python
# RUN python3 -m ensurepip
# RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple bottle --no-cache --upgrade pip setuptools
RUN sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
RUN sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
RUN apt update -y && \
apt install python3-pip python3 -y && \
apt clean -y
RUN python3 -m pip install --no-cache -i https://pypi.tuna.tsinghua.edu.cn/simple bottle requests
# ENV LIBGL_ALWAYS_INDIRECT=1
# ENV DEBIAN_FRONTEND=noninteractive
# Add user
# RUN adduser --quiet --disabled-password qtuser && usermod -a -G audio qtuser
# RUN apt-get update && apt-get install -y python3-pyqt5
# RUN apt-get install -y libxcb-xinerama0
# copy fonts
COPY fonts /opt/fonts/
# COPY bdf /opt/bdf/
ENV LANG C.UTF-8
# copy apps
# COPY bdfconv2/bdfconv /opt/
COPY app /opt/app/
COPY u8g2_font_tool_shell /opt/
ENV QT_QPA_PLATFORM=offscreen
EXPOSE 9000
WORKDIR /opt/app/
CMD ["/usr/bin/python3", "app.py"]
Python
1
https://gitee.com/openLuat/luatos-service-cbuild-fonts.git
git@gitee.com:openLuat/luatos-service-cbuild-fonts.git
openLuat
luatos-service-cbuild-fonts
luatos-service-cbuild-fonts
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891