mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
* chore(deps): upgrade Clojure version to 1.12.4 across multiple dependency files * chore: bump shadow-cljs to 3.3.6 * chore: bump org.clojure/clojurescript to 1.12.134 * chore(deps): upgrade Clojure version to 1.12.4 in workflow files * chore(deps): upgrade Java version to 21 in workflow files * chore(deps): upgrade Node.js version to 24 in workflow files * chore(deps): upgrade Node.js version to 24 in Dockerfile * feat(updater): migrate electron-forge to electron-builder * fix wrong android app version * fix workflow * feat(dependency-upgrade): add max-update-interval option for dependency audits * chore(deps): upgrade electron-builder and electron-updater * fix: update manual verification instructions for Electron shim cache * chore: update shadow-cljs version to 3.4.4 across all dependencies * chore: upgrade electron version to 41.2.1 * chore: update metosin/malli dependency to latest * chore: upgrade cider-nrepl version to 0.59.0 in dependencies * chore: upgrade clj-kondo version to 2026.04.15 and fix warning * chore: move Electron windows build configuration from yml to ci * chore: update Electron signing configuration to extend from base config * fix: replace icon file for NSIS compatibility * chore: resolve metosin/malli version conflicts * chore: upgrade jdk to 21 in e2e workflow --------- Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
42 lines
1.3 KiB
Docker
42 lines
1.3 KiB
Docker
# NOTE: please keep it in sync with .github pipelines
|
|
# NOTE: during testing make sure to change the branch below
|
|
# NOTE: before running the build-docker GH action edit
|
|
# build-docker.yml and change the release channel from :latest to :testing
|
|
|
|
# Builder image
|
|
FROM clojure:temurin-11-tools-deps-1.11.1.1208-bullseye-slim as builder
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Install reqs
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
curl \
|
|
ca-certificates \
|
|
apt-transport-https \
|
|
gpg \
|
|
build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
|
|
|
|
# install NodeJS & yarn
|
|
RUN curl -sL https://deb.nodesource.com/setup_24.x | bash -
|
|
|
|
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | \
|
|
tee /etc/apt/trusted.gpg.d/yarn.gpg && \
|
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" | \
|
|
tee /etc/apt/sources.list.d/yarn.list && \
|
|
apt-get update && apt-get install -y nodejs yarn
|
|
|
|
WORKDIR /data
|
|
|
|
# build Logseq static resources
|
|
RUN git clone -b master https://github.com/logseq/logseq.git .
|
|
|
|
RUN yarn config set network-timeout 240000 -g && yarn install
|
|
|
|
RUN yarn release
|
|
|
|
# Web App Runner image
|
|
FROM nginx:1.24.0-alpine3.17
|
|
|
|
COPY --from=builder /data/static /usr/share/nginx/html
|
|
|