1.1--- a/Containerfile.worker Thu Aug 15 22:10:20 2024 -0400
1.2+++ b/Containerfile.worker Sat Aug 17 17:08:46 2024 -0400
1.3@@ -2,10 +2,14 @@
1.4 ARG WORKER_ID=908
1.5 ARG WORKER=worker
1.6 ARG WORKER_HOME=/home/${WORKER}
1.7+ARG STASH=/usr/local/share/stash
1.8+ARG STORE=/usr/local/share/store
1.9 USER root
1.10 RUN useradd --system -s /usr/bin/bash -u ${WORKER_ID} -m ${WORKER} -G wheel
1.11+RUN echo "worker ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/worker
1.12 RUN ssh-keygen -A
1.13-RUN chown -R ${WORKER_ID}:worker /usr/local/
1.14+RUN mkdir -pv ${STASH} ${STORE}
1.15+RUN chown -R ${WORKER_ID}:worker /usr/local/*
1.16 USER ${WORKER}
1.17 RUN mkdir -pv ${WORKER_HOME}/.stash
1.18 WORKDIR ${WORKER_HOME}/.stash
1.19@@ -23,4 +27,6 @@
1.20 RUN homer install
1.21 ENV WORKER=${WORKER}
1.22 ENV WORKER_ID=${WORKER_ID}
1.23-ENV WORKER_HOME=${WORKER_HOME}
1.24\ No newline at end of file
1.25+ENV WORKER_HOME=${WORKER_HOME}
1.26+ENV STASH=${STASH}
1.27+ENV STORE=${STORE}
1.28\ No newline at end of file