parent
1d7c9ef1d2
commit
771d15f8b9
2 changed files with 5 additions and 0 deletions
|
|
@ -4,6 +4,9 @@
|
|||
/.git/
|
||||
/.gitignore
|
||||
|
||||
/.forgejo
|
||||
/.idea
|
||||
|
||||
# Ignore bundler config.
|
||||
/.bundle
|
||||
|
||||
|
|
|
|||
|
|
@ -79,6 +79,8 @@ COPY --from=build /rails /rails
|
|||
RUN echo "Commit SHA: ${COMMIT_SHA}" > /rails/public/versioninfo && \
|
||||
echo "Build Date: ${BUILD_DATE}" >> /rails/public/versioninfo
|
||||
|
||||
RUN echo "XXXDEBUG: SHA is [${COMMIT_SHA}] and DATE is [${BUILD_DATE}]"
|
||||
|
||||
# Run and own only the runtime files as a non-root user for security
|
||||
RUN groupadd --system --gid 1000 rails && \
|
||||
useradd rails --uid 1000 --gid 1000 --create-home --shell /bin/bash && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue