Skip to content

Commit

Permalink
Fix bundle gems issue in docker
Browse files Browse the repository at this point in the history
This is an issue with our docker alpine image and an older docker host. Keeping to apline3.13 fixes the below error
Fix for :
While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for/usr/local/bundle

Solution:
docker-library/ruby#351
  • Loading branch information
Obsiye committed Feb 8, 2022
1 parent cd19364 commit 1a60dee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.7.5-alpine3.15
FROM ruby:2.7.5-alpine3.13
LABEL Ministry of Justice, LAA Get Paid <laa-get-paid@digital.justice.gov.uk>

# fail early and print all commands
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.7.5-alpine
FROM ruby:2.7.5-alpine3.13
LABEL Organisation="Ministry of Justice"
LABEL Team="LAA Get Paid"
LABEL Contact="<laa-get-paid@digital.justice.gov.uk>"
Expand Down

0 comments on commit 1a60dee

Please sign in to comment.