сохранение чекпоинтов в sqlite
This commit is contained in:
parent
b1e10f25b1
commit
42e6723abb
7 changed files with 82 additions and 3 deletions
|
|
@ -8,9 +8,13 @@ RUN apt update && apt install make sudo -y
|
|||
|
||||
ENV AGENT_USER="agent"
|
||||
ENV WORKSPACE_DIR="/workspace/"
|
||||
ENV INTERNAL_DATA_DIR="/internal_data/"
|
||||
RUN useradd --shell /bin/bash $AGENT_USER \
|
||||
&& mkdir -p $WORKSPACE_DIR /home/$AGENT_USER \
|
||||
&& chown -R agent:agent $WORKSPACE_DIR /home/$AGENT_USER
|
||||
RUN mkdir -p $INTERNAL_DATA_DIR \
|
||||
&& chown -R root:root $INTERNAL_DATA_DIR \
|
||||
&& chmod o-rwx $INTERNAL_DATA_DIR
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue