Skip to content

Commit

Permalink
feat: create predefined build related direcroties
Browse files Browse the repository at this point in the history
  • Loading branch information
khos2ow committed Jan 10, 2025
1 parent cea0f2c commit 7fe01be
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@ RUN mkdir -p /home/regolith/.gnupg/ && \
chown -R regolith /home/regolith/.gnupg/ && \
chmod 700 /home/regolith/.gnupg

RUN mkdir -p /build/ && \
mkdir -p /build/buildlog/ && \
mkdir -p /build/publish/ && \
mkdir -p /build/workspace/

USER regolith
WORKDIR /build
5 changes: 5 additions & 0 deletions ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,10 @@ RUN mkdir -p /home/regolith/.gnupg/ && \
chown -R regolith /home/regolith/.gnupg/ && \
chmod 700 /home/regolith/.gnupg

RUN mkdir -p /build/ && \
mkdir -p /build/buildlog/ && \
mkdir -p /build/publish/ && \
mkdir -p /build/workspace/

USER regolith
WORKDIR /build

0 comments on commit 7fe01be

Please sign in to comment.