Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace the /sbin/setuser app bundle install line with the following … #72

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN mkdir -p /home/app/webapp/vendor/bundle && \
WORKDIR /home/app/webapp
RUN gem install rubygems-update -v 3.5.6 && \
gem install bundler:2.5.6 && \
/sbin/setuser app bundle install --path vendor/bundle
su - app -c "bundle install --path vendor/bundle"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashwinisukale can you add the error you are getting with the old line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

call_build_and_push / build
buildx failed with: ERROR: failed to solve: process "/bin/sh -c gem install rubygems-update -v 3.5.6 && gem install bundler:2.5.6 && /sbin/setuser app bundle install --path vendor/bundle" did not complete successfully: exit code: 5

https://github.com/datacite/poodle/actions/runs/11838356642


# Run additional scripts during container startup (i.e. not at build time)
WORKDIR /home/app/webapp
Expand Down
Loading