3 Star 2 Fork 0

Gitee 极速下载 / Fluree

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/fluree/db
克隆/下载
Dockerfile 994 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM clojure:temurin-11-tools-deps-1.11.1.1165-bullseye-slim
RUN mkdir -p /usr/src/flureedb
WORKDIR /usr/src/flureedb
# Install the tools we need to install the tools we need
RUN apt-get update && apt-get install -y wget curl gnupg2 software-properties-common chromium
ENV CHROME_BIN=/usr/bin/chromium
# Add node PPA to get newer versions
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get update && apt-get install -y nodejs build-essential
COPY deps.edn Makefile ./
RUN make deps
COPY package.json ./
RUN npm install && npm install -g karma-cli
COPY . ./
RUN make jar
# Create a user to own the fluree code
RUN groupadd fluree && useradd --no-log-init -g fluree -m fluree
# move clj deps to fluree's home
# double caching in image layers is unfortunate, but setting this user
# earlier in the build caused its own set of issues
RUN mv /root/.m2 /home/fluree/.m2 && chown -R fluree.fluree /home/fluree/.m2
RUN chown -R fluree.fluree .
USER fluree
ENTRYPOINT []
Clojure
1
https://gitee.com/mirrors/Fluree.git
git@gitee.com:mirrors/Fluree.git
mirrors
Fluree
Fluree
main

搜索帮助