changelog shortlog graph tags branches files raw help

Mercurial > infra > pod / changeset: rename base to scratch, update devbox

changeset 13: 43c84d8fb729
parent 12: a67e164d4def
child 14: 6cb3bf451afc
author: Richard Westhaver <ellis@rwest.io>
date: Sun, 07 Jul 2024 00:22:10 -0400
files: Containerfile.base Containerfile.dev Containerfile.scratch
description: rename base to scratch, update devbox
     2.1--- a/Containerfile.dev	Thu Jul 04 23:47:28 2024 -0400
     2.2+++ b/Containerfile.dev	Sun Jul 07 00:22:10 2024 -0400
     2.3@@ -1,9 +1,9 @@
     2.4 FROM localhost/archlinux:latest
     2.5-RUN --network=host pacman -Sy uutils-coreutils sysstat iotop imagemagick giflib libgccjit libxaw snappy sbcl clang lld liburing libxkbcommon --noconfirm
     2.6+RUN --network=host pacman -Sy uutils-coreutils sysstat iotop imagemagick giflib libgccjit libxaw snappy sbcl llvm clang lld liburing libxkbcommon --noconfirm
     2.7 # custom
     2.8 ARG DEV=dev
     2.9 ARG DEV_HOME=/home/${DEV}
    2.10-ARG ID=808
    2.11+ARG DEV_ID=808
    2.12 # stage0
    2.13 RUN mkdir -p /usr/share/lisp /usr/local/share/lisp /usr/local/share/rust
    2.14 # COPY .stash/bin/ /usr/local/bin/
    2.15@@ -18,12 +18,15 @@
    2.16 ENV RUSTUP_HOME="/usr/local/share/rust/rustup"
    2.17 # stage1
    2.18 RUN ./bootstrap.sh
    2.19+RUN install -m 755 .stash/bin/* /usr/local/bin/
    2.20+RUN mv .stash/lib/** /usr/local/lib/
    2.21+RUN mv .stash/share/lisp/** /usr/local/share/lisp/
    2.22 ENV PATH="$PATH:/usr/local/share/rust/cargo/bin"
    2.23 RUN skel run install-rocksdb-pack
    2.24-RUN skel run install-emacs-mini-pack
    2.25 RUN skel make tree-sitter
    2.26+RUN skel make tree-sitter-install
    2.27 RUN skel make tree-sitter-langs
    2.28-RUN useradd --system -s /usr/bin/bash -u ${ID} -m ${DEV}
    2.29+RUN useradd --system -s /usr/bin/bash -u ${DEV_ID} -m ${DEV}
    2.30 RUN groupadd -g 128 engineer -U ${DEV}
    2.31 RUN groupadd -g 256 operator -U ${DEV}
    2.32 RUN chown -R ${DEV}:engineer /usr/local/share/
    2.33@@ -40,4 +43,5 @@
    2.34 WORKDIR ${DEV_HOME}
    2.35 RUN rm -rf /usr/local/src/*
    2.36 ENV DEV=${DEV}
    2.37-ENV DEV_ID=${ID}
    2.38\ No newline at end of file
    2.39+ENV DEV_ID=${DEV_ID}
    2.40+ENTRYPOINT ["/usr/bin/bash"]
    2.41\ No newline at end of file
     3.1--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2+++ b/Containerfile.scratch	Sun Jul 07 00:22:10 2024 -0400
     3.3@@ -0,0 +1,1 @@
     3.4+FROM scratch
     3.5\ No newline at end of file