1 Star 0 Fork 30

zzlet163/OmniDB

forked from Gitee 极速下载/OmniDB 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 869 Bytes
一键复制 编辑 原始数据 按行查看 历史
William Ivanski 提交于 2019-12-03 17:46 . Preparation for 2.17
FROM debian:stable-slim
ENV OMNIDB_VERSION=2.17.0
ENV SERVICE_USER=omnidb
WORKDIR /${SERVICE_USER}
RUN adduser --system --home /${SERVICE_USER} --no-create-home ${SERVICE_USER} \
&& mkdir -p /${SERVICE_USER} \
&& chown -R ${SERVICE_USER}.root /${SERVICE_USER} \
&& chmod -R g+w /${SERVICE_USER} \
&& apt-get update \
&& apt-get -y upgrade \
&& apt-get install -y wget dumb-init \
&& if [ ! -e '/bin/systemctl' ]; then ln -s /bin/echo /bin/systemctl; fi \
&& rm -rf /var/lib/apt/lists/*
RUN wget -q https://omnidb.org/dist/${OMNIDB_VERSION}/omnidb-server_${OMNIDB_VERSION}-debian-amd64.deb \
&& dpkg -i omnidb-server_${OMNIDB_VERSION}-debian-amd64.deb \
&& rm -rf omnidb-server_${OMNIDB_VERSION}-debian-amd64.deb
USER ${SERVICE_USER}
EXPOSE 8000
EXPOSE 25482
ENTRYPOINT [ "/usr/bin/dumb-init", "--" ]
CMD ["omnidb-server", "-H", "0.0.0.0"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/zzlet163/OmniDB.git
git@gitee.com:zzlet163/OmniDB.git
zzlet163
OmniDB
OmniDB
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385