1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-Fluree

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
Dockerfile 994 Байты
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Wes Morgan Отправлено 25.10.2022 23:22 9b83dd8
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 []

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-Fluree.git
git@api.gitlife.ru:oschina-mirror/mirrors-Fluree.git
oschina-mirror
mirrors-Fluree
mirrors-Fluree
main