Replace submodule with direct copy of one.el fork for Docker compatibility

This commit is contained in:
2025-12-27 10:39:25 +01:00
parent 9ad0814822
commit b9ded15881
28 changed files with 8616 additions and 5 deletions

15
one.el/docker/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM debian:12-slim
# set work directory
WORKDIR /usr/src/app
# Print output
RUN export TERM=xterm
# install software
RUN apt update
RUN apt install -y emacs-nox
# Build
COPY build.el .
ENTRYPOINT emacs --batch --script build.el

8
one.el/docker/build.el Normal file
View File

@@ -0,0 +1,8 @@
(progn
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(package-refresh-contents)
(package-install 'one)
(one-build))

View File

@@ -0,0 +1,8 @@
services:
one-el:
build: .
restart: "no"
volumes:
- .:/usr/src/app/