Skip to content

Commit

Permalink
Merge pull request #15 from regolith-linux/build-folders
Browse files Browse the repository at this point in the history
feat: create predefined build related direcroties
  • Loading branch information
khos2ow authored Jan 10, 2025
2 parents cea0f2c + d75fe04 commit e493e4b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@ 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/ && \
chown -R regolith /build/

USER regolith
WORKDIR /build
6 changes: 6 additions & 0 deletions ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,11 @@ 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/ && \
chown -R regolith /build/

USER regolith
WORKDIR /build

0 comments on commit e493e4b

Please sign in to comment.