From 1a60deeae54a657ce3e30aa4a006cc0d0be95e08 Mon Sep 17 00:00:00 2001 From: Obsiye Date: Tue, 8 Feb 2022 14:16:30 +0000 Subject: [PATCH] Fix bundle gems issue in docker 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: https://github.com/docker-library/ruby/issues/351 --- Dockerfile | 2 +- docker/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 19160ac23..57ad25ee0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 # fail early and print all commands diff --git a/docker/Dockerfile b/docker/Dockerfile index 3c2cd5673..aba4a10e1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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=""