changeset 207: |
21a46e89d3a5 |
parent 206: |
b1b9f50c8565 |
child 208: |
f5d36aa9e3f6 |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Thu, 25 Apr 2024 22:41:55 +0000 |
files: |
Containerfile.box Containerfile.worker makefile |
description: |
add pods |
1.1--- a/Containerfile.box Thu Apr 25 19:57:52 2024 +0000
1.2+++ b/Containerfile.box Thu Apr 25 22:41:55 2024 +0000
1.3@@ -1,7 +1,7 @@
1.4 FROM localhost/archlinux:latest
1.5 RUN --network=host pacman -Sy uutils-coreutils sysstat iotop imagemagick giflib libgccjit libxaw snappy sbcl liburing --noconfirm
1.6-VOLUME /opt/store
1.7-VOLUME /opt/stash
1.8+# VOLUME /opt/store
1.9+# VOLUME /opt/stash
1.10 # custom
1.11 ARG DEV=dev
1.12 ARG DEV_HOME=/home/${DEV}
2.1--- a/Containerfile.worker Thu Apr 25 19:57:52 2024 +0000
2.2+++ b/Containerfile.worker Thu Apr 25 22:41:55 2024 +0000
2.3@@ -1,6 +1,6 @@
2.4 FROM localhost/alpine:latest
2.5-VOLUME /opt/store
2.6-VOLUME /opt/stash
2.7+# VOLUME /opt/store
2.8+# VOLUME /opt/stash
2.9 ADD etc/skel/* /etc/skel/
2.10 ARG ID=908
2.11 ARG WORKER=worker
3.1--- a/makefile Thu Apr 25 19:57:52 2024 +0000
3.2+++ b/makefile Thu Apr 25 22:41:55 2024 +0000
3.3@@ -27,9 +27,11 @@
3.4 box:Containerfile.box archlinux;podman build -f $< -t box
3.5 alpine:Containerfile.alpine;podman build -f $< -t alpine
3.6 ubuntu:Containerfile.ubuntu;podman build -f $< -t ubuntu
3.7+vc:Containerfile.vc ubuntu;podman build -f $< -t vc
3.8+vc-runner:Containerfile.vc-runner ubuntu;podman build -f $< -t vc-runner
3.9 worker:Containerfile.worker alpine;podman build -f $< -t worker
3.10 operator:Containerfile.operator box;podman build -f $< -t operator
3.11-pods:archlinux alpine ubuntu box worker operator
3.12+pods:archlinux alpine ubuntu box worker operator vc vc-runner
3.13 quick:code
3.14 all:dist/cdn dist/code dist/lisp dist/rust dist/sbcl dist/rocksdb dist/emacs dist/pods
3.15 clean:;rm -rf $(B) $(D)
3.16@@ -261,7 +263,7 @@
3.17 cp -r $(CODE_TARGET)/{org,core,infra,demo} $@
3.18 dist/pods:pods
3.19 mkdir -pv $@
3.20- podman image save -o $@/all.tar archlinux alpine ubuntu box worker operator
3.21- cd $@ && zstd --ultra -T4 --rm all.tar -o all.tar.zst
3.22+ podman image save -o $@/all.tar archlinux alpine ubuntu box worker operator vc vc-runner
3.23+ cd $@ && zstd --ultra -T8 --rm all.tar -o all.tar.zst
3.24 clean-dist:;rm -rf $(D)
3.25 clean-build:;rm -rf $(B)