changeset 1: |
0d37b97f681e |
parent: |
98aa8d30816a
|
child: |
ebe8eace7f0a |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Sun, 16 Jun 2024 00:18:07 -0400 |
permissions: |
-rw-r--r-- |
description: |
box updates |
1 FROM localhost/archlinux:latest 2 RUN --network=host pacman -Sy uutils-coreutils sysstat iotop imagemagick giflib libgccjit libxaw snappy sbcl liburing libxkbcommon --noconfirm 5 ARG DEV_HOME=/home/${DEV} 8 RUN mkdir -p /usr/share/lisp /usr/local/share/lisp 10 RUN hg clone https://vc.compiler.company/comp/infra 11 RUN hg clone https://vc.compiler.company/comp/core 13 ENV CARGO_HOME="/usr/local/share/cargo" 14 ENV RUSTUP_HOME="/usr/local/share/rustup" 17 ENV PATH="$PATH:/usr/local/share/cargo/bin" 20 # dev rustc components 21 RUN rustup default nightly 22 RUN rustup component add --toolchain nightly rust-src rust-analyzer rustc-dev llvm-tools-preview 23 # RUN skel make tree-sitter 24 # RUN skel make tree-sitter-langs 25 #ADD etc/sbclrc /etc/sbclrc 26 #COPY etc/skel/ /etc/skel/ 28 RUN useradd --system -s /usr/bin/bash -u ${ID} -k /etc/skel -m ${DEV} 29 RUN groupadd -g 128 engineer -U ${DEV} 30 RUN groupadd -g 256 operator -U ${DEV} 31 RUN chown -R ${DEV}:engineer /usr/local/share/ 32 RUN chown -R ${DEV}:engineer /usr/local/src/ 33 RUN chown -R ${DEV}:engineer /usr/local/bin/ 34 RUN chown -R ${DEV}:engineer /usr/local/etc/ 35 RUN chown -R ${DEV}:engineer /usr/local/man/ 36 WORKDIR /usr/local/src 38 RUN cp -rf core/lisp /usr/local/share/lisp/core 42 RUN hg clone https://vc.compiler.company/comp/infra 43 RUN hg clone https://vc.compiler.company/comp/core